Interface: CompletedReadResult

Flac. CompletedReadResult

Result / return value for Flac~decoder_read_callback_fn callback function for signifying that there is no more data to read
Properties:
Name Type Attributes Description
buffer TypedArray | undefined a TypedArray (e.g. Uint8Array) with the read data (will be ignored in case readDataLength is 0)
readDataLength 0 the number of read data bytes: The number of 0 (zero) indicates that the end-of-stream is reached.
error boolean <optional>
inherited
OPTIONAL value of true indicates that an error occured (decoding will be aborted)

Extends