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)