Skip to main content

alphaTab.io.IWriteable

Represents a writer where binary data can be written to.

 interface IWriteable

Properties​

bytesWritten​

Gets the current number of written bytes.

readonly bytesWritten: number;

Methods​

write​

Write data from the given buffer.

write(buffer: Uint8Array, offset: number, count: number): void
ParameterSummary
bufferAll

The buffer to get the data from.

offsetAll

The offset where to start reading the data.

countAll

The number of bytes to write

writeByte​

Write a single byte to the stream.

writeByte(value: number): void
ParameterSummary
valueAll

The value to write.