Module: Mongo::Protocol::Serializers Private

Included in:
Message
Defined in:
lib/mongo/protocol/serializers.rb,
lib/mongo/protocol/bit_vector.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Container for various serialization strategies

Each strategy must have a serialization method named serailize and a deserialization method named deserialize

Serialize methods must take buffer and value arguements and serialize the value into the buffer

Deserialize methods must take an IO stream argument and deserialize the value from the stream of bytes

Defined Under Namespace

Modules: Byte, Bytes, CString, Document, Header, Int32, Int64, Sections, Zero Classes: BitVector