MCPcopy Create free account
hub / github.com/apache/fory / is_bytes_field

Method is_bytes_field

compiler/fory_compiler/generators/cpp.py:729–732  ·  view source on GitHub ↗
(self, field: Field)

Source from the content-addressed store, hash-verified

727 )
728
729 def is_bytes_field(self, field: Field) -> bool:
730 return isinstance(field.field_type, PrimitiveType) and (
731 field.field_type.kind == PrimitiveKind.BYTES
732 )
733
734 def generate_field_accessors(
735 self, field: Field, parent_stack: Optional[List[Message]], indent: str

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected