Float32MatrixSeq class

Collects the rows of an fp32 matrix, each row decoded straight into its slot of out. A row of fp64 elements contradicts the declared element type and is skipped (§7.3).

rowCount/rowCap bound a row's element count exactly as IntMatrixSeq's do.

Inheritance

Constructors

Float32MatrixSeq(List<InlineFloat32Array> out, int cap, {required int rcap, required int rowCount, required int rowCap})

Properties

cap → int
The schema count: of the matrix — the row index bound (-1: none).
final
hashCode → int
The hash code for this object.
no setterinherited
out → List<InlineFloat32Array>
final
rcap → int
The receiver cap on the row index — see StringSeq.rcap.
final
rowCap → int
The receiver cap on a row's element count — see IntMatrixSeq.rowCap.
final
rowCount → int
The schema count: of a row — its element count bound (-1: none).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

invalidate() → void
Reject the running decode as INVALID from inside a callback.
inherited
limitExceeded() → void
Reject the running decode as DecodeStatus.limitExceeded from inside a callback — the receiver-cap counterpart of invalidate.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBlob(int id, int length) → InlineBytes?
A blob field announcing length bytes. Return the destination — capacity at least length — or null to skip it.
inherited
onFp32(int id, double value) → void
inherited
onFp32Array(int id, int count) → InlineFloat32Array?
An fp32 array announcing count elements, asked once its fixlen_word has been read and validated — so the element kind is the real one, never a collapsed "fixlen" (§4.8). A message that ends between the count and that word is INCOMPLETE: the field cannot be identified yet.
override
onFp32Bits(int id, int bits) → void
Delivered for an fp32 field whose payload is a NaN, carrying the raw 32-bit IEEE-754 bit pattern so a signaling NaN survives bit-for-bit — a Dart double would quiet it (CORELIB_PLAN §4.6: never normalize). The default widens to a double and forwards to onFp32, so a consumer that does not care about NaN bit patterns needs no change; override this to capture the exact bits (and re-emit them with Encoder.writeFp32Bits).
inherited
onFp64(int id, double value) → void
inherited
onFp64Array(int id, int count) → InlineFloat64Array?
An fp64 array announcing count elements — see onFp32Array.
inherited
onSequenceEnd() → void
The sequence whose fields this visitor received has closed.
inherited
onSequenceStart(int id) → MessageVisitor?
A sequence opened. Return the visitor for its fields (which follows the same contract, recursively — this for a flat consumer), or null to skip the whole sub-sequence.
inherited
onSigned(int id, int value) → void
inherited
onSignedArray(int id, int count) → InlineInt64Array?
A signed (zig-zag) integer array announcing count elements — see onUnsignedArray.
inherited
onString(int id, int length) → InlineString?
A string field announcing length UTF-8 bytes. Return the destination to decode it into — its capacity at least length — or null to skip it.
inherited
onUnsigned(int id, int value) → void
inherited
onUnsignedArray(int id, int count) → InlineInt64Array?
An unsigned-integer array announcing count elements. Return the destination — capacity at least count — or null to skip it. Its range, if set, is applied to every element as it is decoded.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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