App::Muter::Backend - App::Muter::Backend - a backend for muter
version 0.002002
Create a new backend.
$args is an arrayref of arguments provided to the chain. Currently only the first argument is considered, and it will typically be a variant of the main algorithm (e.g. lower for lowercase).
%opts is a set of additional parameters. The transform value is set to either encode for encoding or decode for decoding.
Returns the new object.
Get metadata about this class.
Returns a hashref containing the metadata about this backend. The following keys are defined:
The name of this backend. This should be a lowercase string and is the identifier used in the chain.
A hashref mapping possible arguments to the transform to a human-readable description.
Process a chunk of data. Returns the processed chunk. Note that for buffering reasons, the data returned may be larger or smaller than the original data passed in.
Process the final chunk of data. Returns the processed chunk. Note that for buffering reasons, the data returned may be larger or smaller than the original data passed in.
Calling this function is obligatory. If all actual data has been passed to the process function, this function can simply be called with the empty string.
brian m. carlson <sandals@crustytoothpaste.net>
This software is Copyright (c) 2016–2017 by brian m. carlson.
This is free software, licensed under:
The MIT (X11) License
To install App::Muter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Muter
CPAN shell
perl -MCPAN -e shell install App::Muter
For more information on module installation, please visit the detailed CPAN module installation guide.