module BSON::Specialized
def to_bson(buffer = ByteBuffer.new)
- Since: - 2.0.0
Returns:
-
(BSON::ByteBuffer)
- The buffer with the encoded object.
Other tags:
- Example: Encode the min key value. -
def to_bson(buffer = ByteBuffer.new) buffer end