![]() |
![]()
| ![]() |
![]()
NAMESWF::BinStream::File - Read and write file as binary stream. SYNOPSISuse SWF::BinStream::File; $read_file = SWF::BinStream::File::Read->new('test.swf'); $byte = $read_file->get_UI8; .... $read_file->close; $write_file = SWF::BinStream::Write->new('new.swf'); $write_file->set_UI8($byte); .... $write_file->close; DESCRIPTIONSWF::BinStream::File module provides reading and writing binary files as a binary stream. SWF::BinStream::File::Readis a subclass of SWF::BinStream::Read. You can get byte and bit data from files. METHODSYou can use the methods of SWF::BinStream::Read except add_atream.
SWF::BinStream::File::Writeis a subclass of SWF::BinStream::Write. You can write byte and bit data to a file. METHODSYou can use the methods of SWF::BinStream::Write except autoflush.
COPYRIGHTCopyright 2001 Yasuhiro Sasama (ySas), <ysas@nmt.ne.jp> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOSWF::BinStream
|