mirror of
https://github.com/tursom/TursomServer.git
synced 2025-02-07 02:01:19 +08:00
fix bug
This commit is contained in:
parent
0de8e2eaf7
commit
fe25639e87
@ -99,7 +99,7 @@ interface ByteBuffer : Closeable {
|
|||||||
|
|
||||||
fun toString(size: Int): String {
|
fun toString(size: Int): String {
|
||||||
val bytes = getBytes(size)
|
val bytes = getBytes(size)
|
||||||
readPosition -= bytes.size
|
readPosition += bytes.size
|
||||||
return String(bytes)
|
return String(bytes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user