Class: Protobug::Field::SFixed32Field
Constant Summary
PACKABLE_WIRE_TYPES
Instance Attribute Summary
#adder, #cardinality, #clearer, #haser, #ivar, #json_name, #name, #number, #oneof, #setter
Instance Method Summary
collapse
#binary_decode_one, #binary_encode_one, #default, #json_decode_one, #json_encode_one, #validate!
#adder_method_definition, #binary_decode, #binary_encode, #initialize, #json_decode, #json_encode, #json_key_encode, #method_definitions, #optional?, #packed?, #pretty_print, #proto3_optional?, #repeated?, #to_text, #validate!
Instance Method Details
#binary_pack ⇒ Object
741
742
743
|
# File 'lib/protobug/field.rb', line 741
def binary_pack
"l<"
end
|
#bit_length ⇒ Object
729
730
731
|
# File 'lib/protobug/field.rb', line 729
def bit_length
32
end
|
#encoding ⇒ Object
725
726
727
|
# File 'lib/protobug/field.rb', line 725
def encoding
:fixed
end
|
#signed ⇒ Object
733
734
735
|
# File 'lib/protobug/field.rb', line 733
def signed
true
end
|
#wire_type ⇒ Object
737
738
739
|
# File 'lib/protobug/field.rb', line 737
def wire_type
5
end
|