NAME

App::colourhexdump::Formatter - Colour-Highlight lines of data as hex.

VERSION

version 1.000003

METHODS

format_foreach_in_fh

    $formatter->format_foreach_in_fh( $fh, sub {
        my $formatted = shift;
        print $formatted;
    });

format_row_from_fh

    my ( $formatted , $offset ) = $formatter->format_row_from_fh( $fh, $offset );

format_row

    my $formatted = $formatter->format_row( "Some Characters", $offset );

hex_encode

    my $hexes = $formatter->hex_encode( split //, "Some Characters" );

pretty_encode

    my $nicetext = $formatter->pretty_encode( split //, "Some Characters" );

pad_hex_row

    my $padded = $Formatter->pad_hex_row( $formatter->hex_enode( split //, "Some Characters" ) );

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric <kentnl@cpan.org>.

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