Class: Protobug::Field::Int64Field
Overview
encoding: fixed, varint, zigzag
bitlength: 32, 64
signed: true, false
EXCEPT: no unsigned zigzag
Instance Method Summary
collapse
#binary_decode_one, #binary_encode_one, #default, #json_decode_one, #json_encode_one, #validate!
Instance Method Details
#bit_length ⇒ Object
555
556
557
|
# File 'lib/protobug/field.rb', line 555
def bit_length
64
end
|
#encoding ⇒ Object
551
552
553
|
# File 'lib/protobug/field.rb', line 551
def encoding
:varint
end
|
#signed ⇒ Object
559
560
561
|
# File 'lib/protobug/field.rb', line 559
def signed
true
end
|
#wire_type ⇒ Object
563
564
565
|
# File 'lib/protobug/field.rb', line 563
def wire_type
0
end
|