
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
Exact
Payload must be exactly the frame size. No padding is added or expected.
ZeroFill
Remaining bytes are filled with zeroes on encode and verified as zeroes on decode.
ByteFill(byte)
Remaining bytes are filled with a chosen byte on encode and verified on decode.