Method: BSON::Binary#data

Defined in:
lib/bson/binary.rb

#dataString (readonly)

The string is always stored in BINARY encoding.

Returns:

  • (String)

    The raw binary data.

Since:

  • 2.0.0



80
81
82
# File 'lib/bson/binary.rb', line 80

def data
  @data
end