Skip to main content

alphaTab.io.ByteBuffer

(no description)

 class ByteBuffer implements IWriteableIReadable

Properties​

bytesWritten​

(no description)

readonly bytesWritten: number;

length​

(no description)

length: number;

position​

(no description)

position: number;

Methods​

copyTo​

(no description)

copyTo(destination: IWriteable): void
ParameterSummary
destinationAll

(no description)

empty​

(no description)

static empty(): ByteBuffer

fromBuffer​

(no description)

static fromBuffer(data: Uint8Array): ByteBuffer
ParameterSummary
dataAll

(no description)

fromString​

(no description)

static fromString(contents: string): ByteBuffer
ParameterSummary
contentsAll

(no description)

getBuffer​

(no description)

getBuffer(): Uint8Array

read​

(no description)

read(buffer: Uint8Array, offset: number, count: number): number
ParameterSummary
bufferAll

(no description)

offsetAll

(no description)

countAll

(no description)

readAll​

(no description)

readAll(): Uint8Array

readByte​

(no description)

readByte(): number

reset​

(no description)

reset(): void

skip​

(no description)

skip(offset: number): void
ParameterSummary
offsetAll

(no description)

toArray​

(no description)

toArray(): Uint8Array

withCapacity​

(no description)

static withCapacity(capacity: number): ByteBuffer
ParameterSummary
capacityAll

(no description)

write​

(no description)

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

(no description)

offsetAll

(no description)

countAll

(no description)

writeByte​

(no description)

writeByte(value: number): void
ParameterSummary
valueAll

(no description)