module Mongo::Protocol::Serializers
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
@api private
Constants
- HEADER_PACK
- INT32_PACK
- INT64_PACK
- NULL
- ZERO