NAME

Bubblegum::Wrapper::Encoder - Bubblegum Wrapper around Content Encoding

VERSION

version 0.40

SYNOPSIS

use Bubblegum;

my $data = '...';
$data->encoder->encode;

DESCRIPTION

Bubblegum::Wrapper::Encoder is a Bubblegum wrapper which provides access to content encoding using the encode/decode methods. It is not necessary to use this module as it is loaded automatically by the Bubblegum class.

METHODS

decode

The decode method decodes the encoded string data using the encoding specified. The default is utf-8 is no encoding is supplied.

encode

The encode method encodes the raw string data using the encoding specified. The default is utf-8 is no encoding is supplied.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.