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
Examples:
type.writeValue(buffer, 1n) //takes up 2 bytes
or
type.writeValue(buffer, 12345678901234567890n) //takes up 9 bytes
The buffer to which to append
The value to write
Generated using TypeDoc
A type storing an arbitrary precision unsigned integer. Each written value has its own number of bytes of precision.
Example: