Instead of reading the data stream to determine the message length, as in MagicHeaderAndLengthByteTransformer, the new MagicHeaderFixedLengthByteTransformer takes in an integer variable len to read messages of a fixed length that are preceded by a "magic header" string.
Instead of reading the data stream to determine the message length, as in MagicHeaderAndLengthByteTransformer, the new MagicHeaderFixedLengthByteTransformer takes in an integer variable
len
to read messages of a fixed length that are preceded by a "magic header" string.