Constructors
constructor
- new ByteArray(size?: number, byteArray?: number[]): ByteArray
-
Parameters
-
Default value size: number = 0
-
Default value byteArray: number[] = null
Methods
appendByte
- appendByte(value: number): void
at
- at(index: number): number
-
Parameters
Returns number
reserve
- reserve(capacity: number): void
set
- set(index: number, value: number): void
-
Parameters
-
index: number
-
value: number
Returns void
set1
- set1(source: number[], offset: number, count: number): void
-
Parameters
-
source: number[]
-
offset: number
-
count: number
Returns void