Section navigation

Public classAbstract FramePadding

Namespace
Rowles.LeanCorpus.Codecs.CodecKit.Enums
Assembly
Rowles.LeanCorpus.dll

Defines the padding strategy for fixed-size frames.

public abstract class FramePadding
Inheritance
FramePadding

Public property Exact

Payload must be exactly the frame size. No padding is added or expected.

Public property ZeroFill

Remaining bytes are filled with zeroes on encode and verified as zeroes on decode.

Public method ByteFill(byte)

Remaining bytes are filled with a chosen byte on encode and verified on decode.