diff --git a/build.gradle.kts b/build.gradle.kts index 7fccb65..fc4164d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "nl.astraeus" -version = "0.2.8" +version = "0.2.9" repositories { mavenCentral() diff --git a/src/commonMain/kotlin/nl/astraeus/tba/SlicedByteArray.kt b/src/commonMain/kotlin/nl/astraeus/tba/SlicedByteArray.kt index 115c381..13cfdcc 100644 --- a/src/commonMain/kotlin/nl/astraeus/tba/SlicedByteArray.kt +++ b/src/commonMain/kotlin/nl/astraeus/tba/SlicedByteArray.kt @@ -6,7 +6,7 @@ class SlicedByteArray( val length: Int ) { val size: Int - get() = length - offset + get() = length constructor(array: ByteArray) : this(array, 0, array.size)