Class LengthPrefixedBinaryTCPClientImpl

All Implemented Interfaces:
TCPClient

public class LengthPrefixedBinaryTCPClientImpl extends TCPClientDecorator
Implements binary length-prefixed binary data.

This is used in ISO8583 for example. Input/Output strings are passed as hex-encoded binary strings.

2-Byte or 4-Byte length prefixes are supported.

Length prefix is binary of length specified by property "tcp.length.prefix.length".