encodeField static method
BuBytes
encodeField(
- Object value,
- ProtoFieldConfig config, {
- ProtoSyntax syntax = ProtoSyntax.v2,
Implementation
static BuBytes encodeField(
Object value,
ProtoFieldConfig config, {
ProtoSyntax syntax = ProtoSyntax.v2,
}) {
return _encodeField(value: value, config: config, syntax: syntax) ??
BuBytes.empty();
}