Section navigation

Public classSealed CodecBodyReadSession

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

Provides one body-positioned input across canonical and supported legacy frames.

public sealed class CodecBodyReadSession : IDisposable
Inheritance
CodecBodyReadSession
Implements

Public property BodyLength

Public property BodyStart

Public property FormatVersion

Public property IsCanonical

Public method Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Public method OpenBodyInput()

Opens a separately owned random-access input bounded to the codec body.

Public method OpenBodyStream()

Opens a seekable stream bounded to the codec body.

Public method ReadBody()

Materialises the body using the configured operation-specific limit.

Public method ValidateChecksum()

Validates the canonical body checksum, or does nothing for a legacy frame.