alphaTab.io.IReadable
Description
Represents a stream of binary data that can be read from.
interface IReadable
Properties
length | Gets the total number of bytes contained in the stream. |
position | Gets or sets the current read position relative in the stream. |
Methods
read(Uint8Array, number, number) | Reads the given number of bytes from the stream into the given buffer. |
readAll() | Reads the remaining data. |
readByte() | Read a single byte from the data stream. |
reset() | Resets the stream for reading the data from the beginning. |
skip(number) | Skip the given number of bytes. |