writeBSON(obj, file = NULL, maskReadonly = FALSE, enumToStr = TRUE, unixTimestamp = TRUE, ... = NULL);
-
the file resource that used for save the BSON data, if this parameter is empty, then a binary data stream that contains the BSON data will be returned.
[as Environment]