var_int_list.
Methods
(static) decode(buf) → {Object}
Decode var_int_list.
Parameters:
Name | Type | Description |
---|---|---|
buf |
Buffer | A buffer that starts with encoded var_int_list |
- Source:
Returns:
Decoded var_int_list structure.
- Type
- Object
(static) encode(list) → {Buffer}
Encode list of numbers into var_int_list.
Parameters:
Name | Type | Description |
---|---|---|
list |
Array.<number> | A number list |
- Source:
Returns:
Encoded var_int_list.
- Type
- Buffer