@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 chunk: Chunk?

The chunk.

endOfStream

val endOfStream: Boolean

Indicates that the end of the stream has been reached.