encode_UINT24 function
dynamic
encode_UINT24(
- dynamic v
Convert a 24-bit unsigned integer to a list of 3 bytes. @param {number} @returns {Array}
Implementation
encode_UINT24(v) {
return [(v >> 16) & 0xFF, (v >> 8) & 0xFF, v & 0xFF];
}