Class: Protobug::Field::Int32Field
Instance Method Summary
collapse
#binary_decode_one, #binary_encode_one, #default, #json_decode_one, #json_encode_one, #validate!
Instance Method Details
#bit_length ⇒ Object
653
654
655
|
# File 'lib/protobug/field.rb', line 653
def bit_length
32
end
|
#encoding ⇒ Object
649
650
651
|
# File 'lib/protobug/field.rb', line 649
def encoding
:varint
end
|
#signed ⇒ Object
657
658
659
|
# File 'lib/protobug/field.rb', line 657
def signed
true
end
|
#wire_type ⇒ Object
661
662
663
|
# File 'lib/protobug/field.rb', line 661
def wire_type
0
end
|