From 06f8bc7ef287e07ea0c6727153e21b1819bb06f5 Mon Sep 17 00:00:00 2001 From: sergeych Date: Wed, 22 Nov 2023 18:44:29 +0300 Subject: [PATCH] release 0.0.6 --- README.md | 2 +- build.gradle.kts | 2 +- src/commonMain/kotlin/net.sergeych.bintools/DataSource.kt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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