Mango::BSON::Binary - Binary type
use Mango::BSON::Binary; my $bin = Mango::BSON::Binary->new(data => $bytes, type => 'generic');
Mango::BSON::Binary is a container for the BSON binary type used by Mango::BSON.
Mango::BSON::Binary implements the following attributes.
my $bytes = $bin->data; $bin = $bin->data($bytes);
Binary data.
my $type = $bin->type; $bin = $bin->type('generic');
Binary subtype.
Mango::BSON::Binary inherits all methods from Mojo::Base.
Mango, Mojolicious::Guides, http://mojolicio.us.
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.