@UnstableApi
class ChunkHolder


Holds a chunk or an indication that the end of the stream has been reached.

Summary

Public constructors

Public functions

Unit

Clears the holder.

Public properties

Chunk?

The chunk.

Boolean

Indicates that the end of the stream has been reached.

Public constructors

ChunkHolder

ChunkHolder()

Public functions

clear

fun clear(): Unit

Clears the holder.

Public properties

chunk

val chunkChunk?

The chunk.

endOfStream

val endOfStreamBoolean

Indicates that the end of the stream has been reached.