Package-level declarations

Types

Link copied to clipboard
interface ByteSource : Closeable

A byte source represents a source of byte data that can only be consumed one time.

Link copied to clipboard

A ByteSource that wraps a simple ByteArray buffer.

Functions

Link copied to clipboard
suspend fun ByteSource.readRemaining(limit: Int? = null): ByteArray

Read all remaining bytes out of the receiving ByteSource.

Link copied to clipboard
Link copied to clipboard

Convert this byte source into an InputStream.