Package Exports
- token-types
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (token-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A primitive token library used to read from, and to write a node Buffer.
Tokens
node-strtok supports a wide variety of numerical tokens out of the box:
UINT8UINT16_BE,UINT16_LEUINT24_BE,UINT24_LEUINT32_BE,UINT32_LEINT8INT16_BE,INT16_LEINT24_BE,INT24_LEINT32_BE,INT32_LE
String types:
- Windows-1252
- ISO-8859-1
One might notice that there is no support for 64-bit tokens, since JavaScript seems to limit value size to less than 2^64. Rather than wrapping up an additional math library to handle this, I wanted to stick with JavaScript primitives. Maybe this will change later if this becomes important.