Skip to main content

Module encoding

Module encoding 

Source
Available on crate feature std only.
Expand description

Encoding and decoding utilities for ISO 8583 messages

Supports multiple encoding formats:

  • ASCII: Standard text encoding
  • BCD (Binary Coded Decimal): Compact numeric encoding
  • EBCDIC: IBM mainframe encoding (less common)

Enums§

Encoding
Encoding format for ISO 8583 messages

Functions§

decode_ascii
Decode ASCII bytes to string
decode_bcd
Decode BCD to numeric string
decode_ebcdic
Decode EBCDIC bytes to string
decode_length
Decode length indicator
encode_ascii
Encode string to ASCII bytes
encode_bcd
Encode numeric string to BCD
encode_ebcdic
Encode string to EBCDIC bytes
encode_length
Encode length indicator (for LLVAR and LLLVAR fields)