class

CrystalIso8583::Shared::Header::FixedLength

Inherits CrystalIso8583::Shared::Header::Strategy < Reference < Object

Skips a fixed number of opaque bytes (e.g. a proprietary TPDU or record-type tag) that carries no length information.

Constructors

new(size : Int32)
Source

Instance methods

strip(bytes : Bytes) : Bytes

Returns the ISO 8583 payload with the header removed.

Source
wrap(iso_bytes : Bytes) : Bytes

Returns iso_bytes with the header prepended.

Source