diff --git a/README.md b/README.md index 5d86249..a9eb363 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ And add dependecy to the proper place in yuor project like this: ```kotlin dependencies { // ... - implementation("net.sergeych:mp_bintools:0.0.4") + implementation("net.sergeych:mp_bintools:0.0.6") } ``` diff --git a/build.gradle.kts b/build.gradle.kts index b60e66a..8077a43 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { val serialization_version = "1.3.4" group = "net.sergeych" -version = "0.0.6-SNAPSHOT" +version = "0.0.6" repositories { mavenCentral() diff --git a/src/commonMain/kotlin/net.sergeych.bintools/DataSource.kt b/src/commonMain/kotlin/net.sergeych.bintools/DataSource.kt index a786635..b97ed41 100644 --- a/src/commonMain/kotlin/net.sergeych.bintools/DataSource.kt +++ b/src/commonMain/kotlin/net.sergeych.bintools/DataSource.kt @@ -59,6 +59,7 @@ fun ByteArray.toDataSource(): DataSource = } } +@Suppress("unused") fun UByteArray.toDataSource(): DataSource = object : DataSource { var position = 0