Class: Protopuffs::Fixed64Base

Inherits:
Numeric show all
Defined in:
lib/protopuffs/message/field.rb

Direct Known Subclasses

Double, Fixed64

Instance Attribute Summary

Attributes inherited from MessageField

#default, #identifier, #tag

Class Method Summary collapse

Methods inherited from Numeric

#initialize

Methods inherited from MessageField

factory, #key, #optional?, #repeated?, shift_tag, #to_wire_format_with_value

Constructor Details

This class inherits a constructor from Protopuffs::Numeric

Class Method Details

.shift(buffer) ⇒ Object



158
# File 'lib/protopuffs/message/field.rb', line 158

def self.shift(buffer); buffer.read(8) end

.wire_typeObject



157
# File 'lib/protopuffs/message/field.rb', line 157

def self.wire_type;     WireType::FIXED64 end