README for File::Binary 1.0 =head1 NAME File::Binary - Binary file reading module =head1 SYNOPSIS use File::Binary qw($BIG_ENDIAN $LITTLE_ENDIAN $NATIVE_ENDIAN); my $fb = File::Binary->new("myfile"); $fb->get_ui8(); $fb->get_ui16(); $fb->get_ui32(); $fb->get_si8(); $fb->get_si16(); $fb->get_si32(); $fb->close(); $fb->open(">newfile"); $fb->put_ui8(255); $fb->put_ui16(65535); $fb->put_ui32(4294967295); $fb->put_si8(-127); $fb->put_si16(-32767); $fb->put_si32(-2147483645); $fb->close(); $fb->open(IO::Scalar->new($somedata)); $fb->set_endian($BIG_ENDIAN); # force endianness # etc etc =head1 DEPENDENCIES This module has external dependencies on the following modules: IO::Scalar Test::More =head1 INSTALLATION perl Makefile.PL make test and if all goes well make install =head1 HISTORY Revision history for Perl extension IO::Binary. 0.01 Mon Feb 10 16:40:03 2003 - original version; created by h2xs 1.21 with options -X IO::Binary =head1 AUTHOR Copyright 2003, Simon Wistow