SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Io
Class MemoryDeserializer

NonCopyableType
   |
   +-IDeserializer
        |
        +-MemoryDeserializer

Implemented in:
Platform.Io.MemoryDeserializer.h

class MemoryDeserializer:
public IDeserializer

Deserializes data from memory.

Fields inherited from class IDeserializercollapse
byteCount

Constructor Summarycollapse
MemoryDeserializer(const Containers::Array<Byte>& dataBuffer)
          Constructor.
~MemoryDeserializer()
          Destructor.

Method Summarycollapse
Void deserialize(Byte& value)
          Deserializes a single byte of data.
Void skip(Int bytes)
          Skips over the specified number of bytes in the deserialized stream.
const Containers::Array<Byte>& storage() const
          Retrieves the backing store container.

Methods inherited from class IDeserializercollapse
close, count, deserialize, deserialize, deserializeAsByte, deserializeAsInt, deserializeBytes, skip

 

Constructor Detail

MemoryDeserializer[inline]

MemoryDeserializer(const Containers::Array<Byte>& dataBuffer)

Constructor.

Parameters:
dataBuffer - the buffer containing previously serialized data

~MemoryDeserializer[inline]

~MemoryDeserializer()

Destructor.

 

Method Detail

deserialize[virtual, inline]

Void deserialize(Byte& value)

Deserializes a single byte of data.

Parameters:
value - a byte
Overrides:
IDeserializer::deserialize

skip[virtual, inline]

Void skip(Int bytes)

Skips over the specified number of bytes in the deserialized stream.

Parameters:
bytes - number of bytes to skip over
Overrides:
IDeserializer::skip

storage[inline]

const Containers::Array<Byte>& storage() const

Retrieves the backing store container.

Returns:
reference to the backing store container


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND