Class: ProtocolBuffers::Field::Int64Field
Instance Attribute Summary
#name, #otype, #tag
Instance Method Summary
collapse
#deserialize
Methods inherited from VarintField
#valid_type?
#wire_type
#check_value, #default_value
#add_methods_to, #add_reader_to, #add_writer_to, #check_valid, #check_value, create, #deserialize, #initialize, #inspect_value, #packed?, #repeated?, #serialize, #text_format, #valid_type?
Instance Method Details
#bits ⇒ Object
496
497
498
|
# File 'lib/protocol_buffers/runtime/field.rb', line 496
def bits
64
end
|
#max ⇒ Object
492
493
494
|
# File 'lib/protocol_buffers/runtime/field.rb', line 492
def max
(1 << 63) - 1
end
|
#min ⇒ Object
488
489
490
|
# File 'lib/protocol_buffers/runtime/field.rb', line 488
def min
-(1 << 63)
end
|