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, 1.23) //or '1.23'
or
type.writeValue(buffer, NaN) //or 'NaN'
or
type.writeValue(buffer, Infinity) //or 'Infinity'
The buffer to which to append
The value to write
Generated using TypeDoc
A type storing a 4-byte IEEE floating point. Can also represent
NaN
,Infinity
, and-Infinity
. Can specify values to write as numbers or strings.Example: