Jason M. Mills > Digest-Mock-Size-0.01_1 > Digest::Mock::Size

Download:
Digest-Mock-Size-0.01_1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01_1   Source  

NAME ^

Digest::Mock::Size - Mock digest interface to return size of message

VERSION ^

Version 0.01

SYNOPSIS ^

See Digest module.

METHODS ^

new

A very simple constructor

clone

Clone the digest object

reset

Reset the message buffer

message

Returns digest message buffer

reset_with_message

Returns the message buffer and resets it

add

Add data to the digest message buffer

size RESET

Returns the size of the message If boolean RESET is true it will reset the message buffer

digest

Returns packed size of message and resets as per interface spec Beware: this is the length of the message prior to any digesting

AUTHOR ^

Jason M Mills, <jmmills at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-digest-mock-size at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Digest-Mock-Size. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Digest::Mock::Size

You can also look for information at:

ACKNOWLEDGEMENTS ^

LICENSE AND COPYRIGHT ^

Copyright 2011 Jason M Mills.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: