mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
typo fix
This commit is contained in:
@@ -123,7 +123,7 @@ removefile:
|
|||||||
fun readUshortBig(): Int {
|
fun readUshortBig(): Int {
|
||||||
val buffer = ByteArray(2)
|
val buffer = ByteArray(2)
|
||||||
val readStatus = readBytes(buffer)
|
val readStatus = readBytes(buffer)
|
||||||
if (readStatus != 2) throw InternalError("Unexpected error -- EOF reached? (expected 4, got $readStatus)")
|
if (readStatus != 2) throw InternalError("Unexpected error -- EOF reached? (expected 2, got $readStatus)")
|
||||||
return buffer.toShortBig()
|
return buffer.toShortBig()
|
||||||
}
|
}
|
||||||
fun readIntBig(): Int {
|
fun readIntBig(): Int {
|
||||||
|
|||||||
Reference in New Issue
Block a user