| Module | Mongo::Protocol::Serializers::Byte |
| In: |
lib/mongo/protocol/serializers.rb
|
MongoDB wire protocol serialization strategy for a single byte.
Writes and fetches a single byte from the byte buffer.
Deserializes a byte from the byte buffer.
@param [ BSON::ByteBuffer ] buffer Buffer containing the value to read.
@return [ String ] The byte.
@since 2.5.0