mirror of
https://github.com/tursom/TursomServer.git
synced 2025-01-30 14:20:07 +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 {
|
||||
val bytes = getBytes(size)
|
||||
readPosition -= bytes.size
|
||||
readPosition += bytes.size
|
||||
return String(bytes)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user