ByteSink

@ObjCName(swiftName = "__KotlinByteSink")
interface ByteSink(source)

Caller-provided append-only byte sink used by the PMTiles writer.

Functions

Link copied to clipboard
abstract suspend fun close()

Closes the output.

Link copied to clipboard
abstract suspend fun flush()

Flushes pending output.

Link copied to clipboard
abstract suspend fun write(bytes: ByteString)

Appends bytes to the output in write order.