Creates a new Uint8Array containing the encoded variable byte integer.
The integer value to encode (0 to 268,435,455)
A new Uint8Array containing the encoded bytes
RangeError if value is out of range
encodeVariableByteIntegerToArray(321) // Uint8Array([0xc1, 0x02]) Copy
encodeVariableByteIntegerToArray(321) // Uint8Array([0xc1, 0x02])
Creates a new Uint8Array containing the encoded variable byte integer.