Class: Protopuffs::Fixed32Base

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

Direct Known Subclasses

Fixed32, Float, SFixed32

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



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

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

.wire_typeObject



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

def self.wire_type;     WireType::FIXED32 end