FixedSizeFrameParser

constructor(frameSize: Int, header: ByteArray = byteArrayOf(), footer: ByteArray = byteArrayOf())(source)

Parameters

frameSize

The fixed size of each frame in bytes

header

Optional header bytes that must precede each frame

footer

Optional footer bytes that must follow each frame