Class: Protobug::Field::Fixed64Field

Inherits:
IntegerField show all
Defined in:
lib/protobug/field.rb

Instance Attribute Summary

Attributes inherited from Protobug::Field

#adder, #cardinality, #clearer, #haser, #ivar, #json_name, #name, #number, #oneof, #setter

Instance Method Summary collapse

Methods inherited from IntegerField

#binary_decode_one, #binary_encode_one, #default, #json_decode_one, #json_encode_one, #validate!

Methods inherited from Protobug::Field

#binary_decode, #binary_encode, #define_adder, #initialize, #json_decode, #json_encode, #json_key_encode, #optional?, #packed?, #pretty_print, #proto3_optional?, #repeated?, #to_text, #validate!

Constructor Details

This class inherits a constructor from Protobug::Field

Instance Method Details

#binary_packObject



522
# File 'lib/protobug/field.rb', line 522

def binary_pack = "Q"

#bit_lengthObject



519
# File 'lib/protobug/field.rb', line 519

def bit_length = 64

#encodingObject



518
# File 'lib/protobug/field.rb', line 518

def encoding = :fixed

#signedObject



520
# File 'lib/protobug/field.rb', line 520

def signed = false

#wire_typeObject



521
# File 'lib/protobug/field.rb', line 521

def wire_type = 1