StorageLdpcPageLayout class

Immutable page-to-codeword layout for storage-oriented LDPC.

Annotations

Constructors

StorageLdpcPageLayout({required LdpcCode code, required int pageDataBits, int outerCheckBitsPerBlock = 0, PermutationDescriptor? encodedBitPermutation})
Creates a validated page layout.

Properties

blockCount → int
Number of LDPC codewords required by one page.
no setter
code → LdpcCode
LDPC code used for every page segment.
final
configurationSignature → String
Stable layout signature for generated definition names.
no setter
dataBitsPerBlock → int
Caller data bits carried by each LDPC message.
no setter
decodedMessagesBits → int
Packed width of all decoded LDPC messages.
no setter
encodedBitPermutation → PermutationDescriptor
Physical encoded-page output-to-logical-bit permutation.
final
encodedPageBits → int
Packed width of all logical or physical encoded codewords.
no setter
hashCode → int
The hash code for this object.
no setterinherited
outerCheckBitsPerBlock → int
Number of outer-check bits appended to every LDPC message.
final
paddedPageDataBits → int
Data capacity across all blocks, including final zero padding.
no setter
paddingBits → int
Number of zero-pad bits in the final data segment.
no setter
pageDataBits → int
Number of caller-visible data bits in one page.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildMessages(BigInt pageData, {StorageOuterCheckSoftwareGenerator? outerCheckGenerator}) → List<BigInt>
Builds one LDPC message per page segment.
deinterleaveEncodedPage(BigInt encodedPage) → BigInt
Restores logical packed codeword order from physical interleaved bits.
encodePage(BigInt pageData, {StorageOuterCheckSoftwareGenerator? outerCheckGenerator}) → BigInt
Encodes, packs, and statically interleaves one page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outerCheckFailures(BigInt decodedMessages, {required StorageOuterCheckSoftwareGenerator outerCheckGenerator}) → BigInt
Returns one bit per block whose received outer check is invalid.
reassemblePage(BigInt decodedMessages) → BigInt
Reassembles caller page data from packed decoded LDPC messages.
segmentPage(BigInt pageData) → List<BigInt>
Splits a page into zero-padded data segments, least-significant first.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited