uleb128 static method
Implementation
static BcsType<int,int> uleb128([BcsTypeOptions<int,int>? options]) {
return dynamicSizeBcsType<int,int>(
name: 'uleb128',
read: (reader) => reader.readULEB(),
serialize: (value, {BcsWriterOptions? options}) {
return Uint8List.fromList(ulebEncode(value));
},
validate: options?.validate,
);
}