diff --git a/docs/index.html b/docs/index.html
index 0e4453e13..5b92af40b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -44,7 +44,7 @@
-0.4.0
+0.5.0
diff --git a/docs/kotlinx-io-bytestring/index.html b/docs/kotlinx-io-bytestring/index.html
index 89562eaf9..6511ead5a 100644
--- a/docs/kotlinx-io-bytestring/index.html
+++ b/docs/kotlinx-io-bytestring/index.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/-byte-string-builder.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/-byte-string-builder.html
index 11536ff34..020882768 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/-byte-string-builder.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/-byte-string-builder.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/append.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/append.html
index d695caa1f..e70a118f6 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/append.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/append.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/capacity.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/capacity.html
index 9f813ed2b..ff6de01e8 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/capacity.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/capacity.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/index.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/index.html
index 5ae7ee2e6..ebdace4d9 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/index.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/index.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/size.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/size.html
index 9a2b0aa53..183e76689 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/size.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/size.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/to-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/to-byte-string.html
index cc0554e41..a7ec9b3df 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/to-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string-builder/to-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string.html
index 50d71bf96..b12bf8976 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-byte-string.html
index 1484c49f6..670154d52 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-companion/index.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-companion/index.html
index f1b631d90..75bfc81c4 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-companion/index.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/-companion/index.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/compare-to.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/compare-to.html
index df47fc210..d7e1d3aef 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/compare-to.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/compare-to.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/copy-into.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/copy-into.html
index 183e8cb82..55f0ef1b4 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/copy-into.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/copy-into.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/equals.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/equals.html
index 951e5bd2d..dd6ec4fb5 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/equals.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/equals.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/get.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/get.html
index 24c052657..635fb9e98 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/get.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/get.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/hash-code.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/hash-code.html
index d2ce2bd2b..0503da861 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/hash-code.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/hash-code.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/index.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/index.html
index 1419fb980..7fdd8d5cf 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/index.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/index.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/size.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/size.html
index b2d74461f..04f6a59bd 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/size.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/size.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/substring.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/substring.html
index 870ae9c1e..919fc167e 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/substring.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/substring.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-byte-array.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-byte-array.html
index bee8a367f..40ff46744 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-byte-array.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-byte-array.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-string.html
index 4f3281c01..b1d1742a4 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/-byte-string/to-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/append.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/append.html
index fb1b8f45c..727bab244 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/append.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/append.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/build-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/build-byte-string.html
index d4a0e1a09..9110cae00 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/build-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/build-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/content-equals.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/content-equals.html
index c40fcc88a..abe18994f 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/content-equals.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/content-equals.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-into-byte-array.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-into-byte-array.html
index 418f004c7..b730ece1f 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-into-byte-array.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-into-byte-array.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-byte-string.html
index 8d8ee05c2..7bfd735c7 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-string.html
index 56191b3c8..ca4daddb1 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode-to-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode.html
index 955d4f645..9f01dfd3f 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/decode.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-into-byte-array.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-into-byte-array.html
index d0df5a73d..3294887a8 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-into-byte-array.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-into-byte-array.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-appendable.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-appendable.html
index 17a767d33..13634190d 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-appendable.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-appendable.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-array.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-array.html
index 29d4cb429..a2dd2fd48 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-array.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-array.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-string.html
index 7a6aa3ff9..5722f8a78 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode-to-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode.html
index b0d32c853..1705ec5cd 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/encode.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/ends-with.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/ends-with.html
index 884aa7339..dee1dcb98 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/ends-with.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/ends-with.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/hex-to-byte-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/hex-to-byte-string.html
index d68248a20..5062bace3 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/hex-to-byte-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/hex-to-byte-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index-of.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index-of.html
index 11f84defc..b9218386e 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index-of.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index-of.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index.html
index e1ab9d857..d2509173c 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/index.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/indices.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/indices.html
index 666ff18c6..3772ca92e 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/indices.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/indices.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-empty.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-empty.html
index 34bfd1a78..0c2612664 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-empty.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-empty.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-not-empty.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-not-empty.html
index ff91457e4..02762c40f 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-not-empty.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/is-not-empty.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/last-index-of.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/last-index-of.html
index 195d706de..63963d09a 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/last-index-of.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/last-index-of.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/starts-with.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/starts-with.html
index f87ffeb01..092353d00 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/starts-with.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/starts-with.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/to-hex-string.html b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/to-hex-string.html
index fe9f3b053..9dc2f22db 100644
--- a/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/to-hex-string.html
+++ b/docs/kotlinx-io-bytestring/kotlinx.io.bytestring/to-hex-string.html
@@ -41,7 +41,7 @@
kotlinx-io
-
diff --git a/docs/kotlinx-io-bytestring/navigation.html b/docs/kotlinx-io-bytestring/navigation.html
index 56897bf3b..ccb42c9d8 100644
--- a/docs/kotlinx-io-bytestring/navigation.html
+++ b/docs/kotlinx-io-bytestring/navigation.html
@@ -352,127 +352,137 @@
readUShortLe()
-