BSON.encode

You're seeing just the function encode, go back to BSON module for more information.

Specs

encode(document()) :: iodata()

Encode a BSON document to iodata.