decodeValue method

  1. @override
dynamic decodeValue(
  1. Pipe x,
  2. CType t
)
override

Implementation

@override
decodeValue(Pipe x, CType t) {
  checkType(t);
  final num = readUIntLE(x, (_bits / 8).ceil());
  if (_bits <= 32) {
    return num.toInt();
  } else {
    return num;
  }
}