Class: Protobug::Field::Fixed64Field
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
621
622
623
|
# File 'lib/protobug/field.rb', line 621
def binary_pack
"Q<"
end
|
#bit_length ⇒ Object
609
610
611
|
# File 'lib/protobug/field.rb', line 609
def bit_length
64
end
|
#encoding ⇒ Object
605
606
607
|
# File 'lib/protobug/field.rb', line 605
def encoding
:fixed
end
|
#signed ⇒ Object
613
614
615
|
# File 'lib/protobug/field.rb', line 613
def signed
false
end
|
#wire_type ⇒ Object
617
618
619
|
# File 'lib/protobug/field.rb', line 617
def wire_type
1
end
|