From 3884ef5acecf89bdecbb83bd8b9b2dfb746dc48e Mon Sep 17 00:00:00 2001 From: JakeWharton Date: Wed, 4 Dec 2024 05:19:39 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20b6b4d?= =?UTF-8?q?52e5f0099328a5bc288249058e573dc19ff=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../okio/-byte-string/-companion/index.html | 8 +++---- .../-companion/to-byte-string.html | 4 ++-- .../-companion/as-okio-file-system.html | 2 +- .../deadline-nano-time.html | 2 +- 3.x/okio/okio/okio/-pipe/fold.html | 2 +- 3.x/okio/okio/okio/-pipe/index.html | 2 +- .../okio/-timeout/deadline-nano-time.html | 2 +- 3.x/okio/okio/okio/cipher-sink.html | 2 +- 3.x/okio/okio/okio/cipher-source.html | 2 +- 3.x/okio/okio/package-list | 2 +- 3.x/okio/scripts/pages.json | 2 +- sitemap.xml | 20 +++++++++--------- sitemap.xml.gz | Bin 279 -> 280 bytes 13 files changed, 25 insertions(+), 25 deletions(-) diff --git a/3.x/okio/okio/okio/-byte-string/-companion/index.html b/3.x/okio/okio/okio/-byte-string/-companion/index.html index eec86d1827..4a7b2d3bef 100644 --- a/3.x/okio/okio/okio/-byte-string/-companion/index.html +++ b/3.x/okio/okio/okio/-byte-string/-companion/index.html @@ -202,19 +202,19 @@

Functions

- -
+ +
- +
Link copied to clipboard
-
fun <Error class: unknown class>.toByteString(): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
expect fun ByteArray.toByteString(offset: Int = 0, byteCount: Int = DEFAULT__ByteString_size): ByteString

Returns a new ByteString containing a copy of byteCount bytes of this ByteArray starting at offset.

Returns a ByteString containing a copy of this ByteBuffer.

@JvmName(name = "of")
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
+
fun NSData.toByteString(): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
expect fun ByteArray.toByteString(offset: Int = 0, byteCount: Int = DEFAULT__ByteString_size): ByteString

Returns a new ByteString containing a copy of byteCount bytes of this ByteArray starting at offset.

Returns a ByteString containing a copy of this ByteBuffer.

@JvmName(name = "of")
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
diff --git a/3.x/okio/okio/okio/-byte-string/-companion/to-byte-string.html b/3.x/okio/okio/okio/-byte-string/-companion/to-byte-string.html index cf39900187..6dda27bef3 100644 --- a/3.x/okio/okio/okio/-byte-string/-companion/to-byte-string.html +++ b/3.x/okio/okio/okio/-byte-string/-companion/to-byte-string.html @@ -66,14 +66,14 @@
-
+

toByteString

-
fun <Error class: unknown class>.toByteString(): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
expect fun ByteArray.toByteString(offset: Int = 0, byteCount: Int = DEFAULT__ByteString_size): ByteString

Returns a new ByteString containing a copy of byteCount bytes of this ByteArray starting at offset.

Returns a ByteString containing a copy of this ByteBuffer.


@JvmName(name = "of")
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
+
fun NSData.toByteString(): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
expect fun ByteArray.toByteString(offset: Int = 0, byteCount: Int = DEFAULT__ByteString_size): ByteString

Returns a new ByteString containing a copy of byteCount bytes of this ByteArray starting at offset.

Returns a ByteString containing a copy of this ByteBuffer.


@JvmName(name = "of")
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
actual fun ByteArray.toByteString(offset: Int, byteCount: Int): ByteString
-

Closing the returned file system will close the underlying java.nio.file.FileSystem.

Note that the default file system is not closeable and calling its close function will throw an UnsupportedOperationException.

+

Closing the returned file system will close the underlying java.nio.file.FileSystem.

Note that the default file system is not closeable and calling its close function will throw an UnsupportedOperationException.

-
fun fold(sink: Sink)

Writes any buffered contents of this pipe to sink, then replace this pipe's source with sink. This pipe's source is closed and attempts to read it will throw an IllegalStateException.

This method must not be called while concurrently accessing this pipe's source. It is safe, however, to call this while concurrently writing this pipe's sink.

+
fun fold(sink: Sink)

Writes any buffered contents of this pipe to sink, then replace this pipe's source with sink. This pipe's source is closed and attempts to read it will throw an IllegalStateException.

This method must not be called while concurrently accessing this pipe's source. It is safe, however, to call this while concurrently writing this pipe's sink.

diff --git a/3.x/okio/okio/okio/-timeout/deadline-nano-time.html b/3.x/okio/okio/okio/-timeout/deadline-nano-time.html index 401ad85886..99ec4710f7 100644 --- a/3.x/okio/okio/okio/-timeout/deadline-nano-time.html +++ b/3.x/okio/okio/okio/-timeout/deadline-nano-time.html @@ -70,7 +70,7 @@

deadlineNano
-

Returns the nano time when the deadline will be reached.

Throws

if no deadline is set.


open fun deadlineNanoTime(deadlineNanoTime: Long): Timeout

Sets the nano time when the deadline will be reached. All operations must complete before this time. Use a deadline to set a maximum bound on the time spent on a sequence of operations.

+

Returns the nano time when the deadline will be reached.

Throws

if no deadline is set.


open fun deadlineNanoTime(deadlineNanoTime: Long): Timeout

Sets the nano time when the deadline will be reached. All operations must complete before this time. Use a deadline to set a maximum bound on the time spent on a sequence of operations.

-

Returns a source that uses cipher to encrypt or decrypt this.

Throws

if cipher isn't a block cipher.

+

Returns a source that uses cipher to encrypt or decrypt this.

Throws

if cipher isn't a block cipher.