This is a break-up of the BSON class and child classes/structs into different files.
The only other modification I did was remove .cstr from all the strings passed to LibBSON methods. to_unsafe is called on those when passing them to lib functions, and String#to_unsafe == String#cstr.
This is a break-up of the BSON class and child classes/structs into different files.
The only other modification I did was remove
.cstr
from all the strings passed to LibBSON methods.to_unsafe
is called on those when passing them to lib functions, andString#to_unsafe
==String#cstr
.