Parse an ISO message according to the definition.
a message with all the field parsed
if the iso definition does not allow for the complete parsing of the ISO message
const buffer = Buffer.from("0100ca......", "hex");const message = parse(isoDefinition, buffer);// All the fields are parsed hereconsole.log(message.content)
an object that will constrain the type of the fields that can be used. It will be used while parsing the buffer
a buffer to the raw ISO message
Generated using TypeDoc
Parse an ISO message according to the definition.
Returns
a message with all the field parsed
Throws
if the iso definition does not allow for the complete parsing of the ISO message
Example