Module: ProtocolBuffers::Field::WireFormats::LENGTH_DELIMITED

Included in:
BytesField, MessageField
Defined in:
lib/protocol_buffers/runtime/field.rb

Instance Method Summary collapse

Instance Method Details

#deserialize(value) ⇒ Object



206
207
208
# File 'lib/protocol_buffers/runtime/field.rb', line 206

def deserialize(value)
  value.read
end

#wire_typeObject



202
203
204
# File 'lib/protocol_buffers/runtime/field.rb', line 202

def wire_type
  WireTypes::LENGTH_DELIMITED
end