bcsBytes static method
Serializes and deserializes raw bytes with a length prefix encoded as LEB128.
The structure is: ...LEB, 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);
}