Class: Protobug::Field::SFixed64Field
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
643
644
645
|
# File 'lib/protobug/field.rb', line 643
def binary_pack
"q<"
end
|
#bit_length ⇒ Object
631
632
633
|
# File 'lib/protobug/field.rb', line 631
def bit_length
64
end
|
#encoding ⇒ Object
627
628
629
|
# File 'lib/protobug/field.rb', line 627
def encoding
:fixed
end
|
#signed ⇒ Object
635
636
637
|
# File 'lib/protobug/field.rb', line 635
def signed
true
end
|
#wire_type ⇒ Object
639
640
641
|
# File 'lib/protobug/field.rb', line 639
def wire_type
1
end
|