diff --git a/src/iosMain/kotlin/util/DataBuffer.kt b/src/iosMain/kotlin/util/DataBuffer.kt index 220b569..897f4a2 100644 --- a/src/iosMain/kotlin/util/DataBuffer.kt +++ b/src/iosMain/kotlin/util/DataBuffer.kt @@ -11,7 +11,7 @@ actual class DataBuffer { * Total length of the buffer */ actual val length: Int - get() = actualBuf.getLength() + get() = actualBuf.length.toInt() private var _readPosition: Int = 0