Module: Mongo::Protocol::Serializers Private
Do not use. This module is for internal use only.
| Relationships & Source Files | |
| Namespace Children | |
|
Modules:
| |
|
Classes:
| |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Defined in: | lib/mongo/protocol/serializers.rb, lib/mongo/protocol/bit_vector.rb |
Overview
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
Constant Summary
-
HEADER_PACK =
# File 'lib/mongo/protocol/serializers.rb', line 36'l<l<l<l<' -
INT32_PACK =
# File 'lib/mongo/protocol/serializers.rb', line 34'l<' -
INT64_PACK =
# File 'lib/mongo/protocol/serializers.rb', line 35'q<' -
NULL =
# File 'lib/mongo/protocol/serializers.rb', line 330.chr.freeze
-
ZERO =
# File 'lib/mongo/protocol/serializers.rb', line 320