Interface: ReadResult

Flac. ReadResult

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