The type of each element in the array
The type of each element in the read array
Requires that the buffer be a GrowableBuffer or AppendableStream
The value to assert is an AppendableBuffer
Determines whether the input is a Type with the same class
A value, usually a Type instance
whether this
and otherType
are instances of the same Type class
Appends value bytes to an AppendableBuffer according to the type
Example:
let car1 = new Car('VW', 'Bug', 1960)
let car2 = new Car('Honda', 'Fit', 2015)
let car3 = new Car('Tesla', 'Model 3', 2017)
type.writeValue(buffer, [car1, car2, car3])
The buffer to which to append
The value to write
Generated using TypeDoc
A type storing a variable-length array of values of the same type
Example: