alphaTab.io.IWriteable
Represents a writer where binary data can be written to.
interface IWriteableProperties​
bytesWritten​
Gets the current number of written bytes.
- JavaScript
- C#
- Kotlin
readonly bytesWritten: number;double BytesWritten { get; }val bytesWritten: DoubleMethods​
write​
Write data from the given buffer.
- JavaScript
- C#
- Kotlin
write(buffer: Uint8Array, offset: number, count: number): voidvoid Write(Uint8Array buffer, double offset, double count)fun write(buffer: Uint8Array, offset: Double, count: Double): Unit| Parameter | Summary |
|---|---|
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.
- JavaScript
- C#
- Kotlin
writeByte(value: number): voidvoid WriteByte(double value)fun writeByte(value: Double): Unit| Parameter | Summary |
|---|---|
valueAll | The value to write. |