decodePrimitiveListBytes<T> static method

List<T> decodePrimitiveListBytes<T>(
  1. Uint8List framed,
  2. T readItem(
    1. RecordReader r
    )
)

Decodes a list of primitives from framed bytes.

Implementation

static List<T> decodePrimitiveListBytes<T>(
  Uint8List framed,
  T Function(RecordReader r) readItem,
) => decodeListBytes(framed, readItem);