mirror of
https://github.com/tursom/TursomServer.git
synced 2025-02-09 19:30:36 +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 {
|
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