Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.191.812 Times

Convert::BinHex 1.119

  Date Added: April 16, 2010  |  Visits: 1.224

Convert::BinHex

Report Broken Link
Printer Friendly Version


Product Homepage
Download (126 downloads)



Convert::BinHex can extract data from Macintosh BinHex files. ALPHA WARNING: this code is currently in its Alpha release. Things may change drastically until the interface is hammered out: if you have suggestions or objections, please speak up now! SYNOPSIS Simple functions: use Convert::BinHex qw(binhex_crc macbinary_crc); # Compute HQX7-style CRC for data, pumping in old CRC if desired: $crc = binhex_crc($data, $crc); # Compute the MacBinary-II-style CRC for the data: $crc = macbinary_crc($data, $crc); Hex to bin, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Hex2Bin") which keeps internal conversion state: # Create and use a "translator" object: my $H2B = Convert::BinHex->hex2bin; # get a converter object while (< STDIN >) { print $STDOUT $H2B->next($_); # convert some more input } print $STDOUT $H2B->done; # no more input: finish up Hex to bin, OO interface. The following operations must be done in the order shown! # Read data in piecemeal: $HQX = Convert::BinHex->open(FH=>*STDIN) || die "open: $!"; $HQX->read_header; # read header info @data = $HQX->read_data; # read in all the data @rsrc = $HQX->read_resource; # read in all the resource Bin to hex, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Bin2Hex") which keeps internal conversion state: # Create and use a "translator" object: my $B2H = Convert::BinHex->bin2hex; # get a converter object while (< STDIN >) { print $STDOUT $B2H->next($_); # convert some more input } print $STDOUT $B2H->done; # no more input: finish up Bin to hex, file interface. Yes, you can convert to BinHex as well as from it! # Create new, empty object: my $HQX = Convert::BinHex->new; # Set header attributes: $HQX->filename("logo.gif"); $HQX->type("GIFA"); $HQX->creator("CNVS"); # Give it the data and resource forks (either can be absent): $HQX->data(Path => "/path/to/data"); # here, data is on disk $HQX->resource(Data => $resourcefork); # here, resource is in core # Output as a BinHex stream, complete with leading comment: $HQX->encode(*STDOUT); PLANNED!!!! Bin to hex, "CAP" interface. Thanks to Ken Lunde for suggesting this. # Create new, empty object from CAP tree: my $HQX = Convert::BinHex->from_cap("/path/to/root/file"); $HQX->encode(*STDOUT); BinHex is a format used by Macintosh for transporting Mac files safely through electronic mail, as short-lined, 7-bit, semi-compressed data streams. Ths module provides a means of converting those data streams back into into binary data..

Requirements: No special requirements
Platforms: Linux
Keyword: Bin To Hex Binhex Crc Data Data From Extract Data Extract Data From Hqx Interface Macintosh Macintosh Binhex Read Resource Stdin Stdout
Users rating: 0/10

License: Freeware Size: 84.99 KB
USER REVIEWS
More Reviews or Write Review


CONVERT::BINHEX RELATED
Development Tools  -  UAV Matching and Data Base 1.0
this program consider to be data base of micro and mini uav's and allow to you to make matching between data and show the result in excel report
3.01 MB  
Utilities  -  PCMate Free File Shredder 6.6.4
PCMate Free File Shredder is a secure and accurate free file eraser application for Windows that allows you to completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns (Gutman, USDoD...
1.09 MB  
Windows Hackers  -  PCMate Free File Splitter Joiner 6.6.4
PCMate Free File Shredder is a secure and accurate free file eraser application for Windows that allows you to completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns (Gutman, USDoD...
3.43 MB  
Database Tools  -  Viobo MySQL to MSSQL Data Migrator Business 1.5
Viobo MySQL to MSSQL Data Migrator Business is a powerful and reliable application designed to migrate data from MySQL to MSSQL database systems easily and fast; you can drag and drop the object of the tree-like databases to migrate and backup...
 
Database Tools  -  Viobo MySQL to MSSQL Data Migrator Pro 1.5
Viobo MSSQL to MySQL Data Migrator Pro is a powerful and reliable application designed to migrate data from MySQL to MSSQL database systems easily and fast; you can drag and drop the object of the tree-like databases to migrate and backup data; it...
 
Backup Utilities  -  Lazesoft Data Recovery Home 3.3.0
Lazesoft Data Recovery Just a few clicks, you can use it to recover deleted files and recover data from formatted, damaged or lost partitions by yourself. Lazesoft Data Recovery is easy to use and powerful data recovery freeware for home user....
20.64 MB  
Database Tools  -  Viobo MSSQL to MySQL Data Migrator Pro 1.5
Viobo MSSQL to MySQL Data Migrator Pro is a powerful and reliable application designed for database migration; you can drag and drop the object of the tree-like databases to migrate and backup data; it supports all versions of MSSQL and MySQL,...
 
Database Tools  -  Viobo MSSQL to MySQL Data Migrator Business 1.5
Viobo MSSQL to MySQL Data Migrator Business is a powerful and reliable application designed for database migration; you can drag and drop the object of the tree-like databases to migrate and backup data; it supports all versions of MSSQL and...
 
File Utilities  -  Data LifeSaver - Datenrettungssoftware 3.8
Data LifeSaver is a high performance software to reconstruct and recover data from a large variety of storage devices. Typically these are hard disks, memory cards, ZIP drives, memory cards, floppy disks and other media that are formatted with...
3.82 MB  
File Utilities  -  Data LifeSaver - Datenrettung 4.21
Data LifeSaver is a high performance software to reconstruct and recover data from a large variety of storage devices. Typically these are hard disks, memory cards, ZIP drives, memory cards, floppy disks and other media that are formatted with...
1.25 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB