encode_CHAR function
dynamic
encode_CHAR(
- dynamic v
Convert a 8-bit signed integer to a list of 1 byte. @param {string} @returns {Array}
Implementation
encode_CHAR(v) {
return [v.charCodeAt(0)];
}
Convert a 8-bit signed integer to a list of 1 byte. @param {string} @returns {Array}
encode_CHAR(v) {
return [v.charCodeAt(0)];
}