mirror of
https://github.com/tursom/TursomServer.git
synced 2025-02-04 00:30:23 +08:00
fix bug
This commit is contained in:
parent
f17402f3dc
commit
43836eb8b4
@ -98,7 +98,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