@UnstableApi
public final class ChunkHolder


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

Summary

Public fields

@Nullable Chunk

The chunk.

boolean

Indicates that the end of the stream has been reached.

Public constructors

Public methods

void

Clears the holder.

Public fields

chunk

public @Nullable Chunk chunk

The chunk.

endOfStream

public boolean endOfStream

Indicates that the end of the stream has been reached.

Public constructors

ChunkHolder

public ChunkHolder()

Public methods

clear

public void clear()

Clears the holder.