bcsBytes static method

CustomLayout<Map<String, dynamic>, List<int>> bcsBytes({
  1. String? property,
})

Serializes and deserializes raw bytes with a length prefix encoded as LEB128.

The structure is: ...LEB128, data bytes... property is an optional key to map the serialized data.

Implementation

static CustomLayout<Map<String, dynamic>, List<int>> bcsBytes(
    {String? property}) {
  return bcsVector(LayoutConst.u8(), property: property);
}