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

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

Serving Software Downloads in 976 Categories, Downloaded 31.598.544 Times

Convert::BinHex 1.119

  Date Added: April 16, 2010  |  Visits: 911


Report Broken Link
Printer Friendly Version

Product Homepage
Download (103 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
Utilities  -  HexConverter 1.2
***** FREE during April ***** The best bin to hex converter in the App Store! FEATURES: - brillant Retina Display High Resolution graphics - awesome User Interface, there's nothing simpler! - bidirectional conversation...
1.1 MB  
Compression Tools  -  RAR Repair Free 1.0
Download RAR Repair Free today to be able to repair file RAR corrupt and get your information and data back as soon as possible. No other solution on the market is as effective or as fast at performing file recoveries. RAR Repair Free is a...
1.79 MB  
Finance  -  Events generator
The filter module "Events generator" for our data loggers (for example, Advanced Serial Data Logger) is an additional module that allows you generate internal program events and handle it with events handling modules. For example, a combination of...
1024 KB  
Miscellaneous  -  Extract a inner function from a class 1.1
This function can extract a inner function from a class or a function. It may be useful when writing a unit test code.
File Restoration  -  DiskGetor Data Recovery Free 2.0
DiskGetor Data Recovery Free : 1, Increased ability of undeletion; 2, Recover system destroyed files and recover deleted ( word, excel ,photo,dwg ,cad,office ppt etc important data) files names perfectly which were erased in Recycle Bin ; e...
2.6 MB  
Automotive Information Databases  -  Viobo MySQL to Excel Data Migrator Free 1.0
Viobo MySQL to Excel Data Migrator is the most efficacious data-migrator between MySQL and Excel currently. It migrates data from MySQL to Excel accurately and perfectly, and with NO database administrator experience required. The data migrator is...
1.58 MB  
Libraries  -  Data::Generate 0.01
Data::Generate allows you to create various types of synthetic data by parsing "regex-like" data creation rules. This module generates data by parsing given text statements (data creation rules). These statements are flexible and powerful...
25.6 KB  
Utilities  -  EaseUS Data Recovery Wizard Free Edition 6.1
EaseUS Data Recovery Wizard Free Edition is a one-stop & free data recovery software to recover 2GB data. It is a comprehensive file recovery freeware which can recover deleted files or folders even when they have been emptied from Recycle Bin,...
4.67 MB  
File Utilities  -  Win Data Recovery Free
Win Data Recovery Free is a comprehensive data recovery software to recover data on major windows operating system. It recovers files emptied from the Recycle Bin, lost due to hard drive crash, formatted or damaged hard drive, virus infection and...
1.91 MB  
Printer Tools  -  PCLReader 9.13
PCLReader Views & Converts PCL & Text into PDF, PDF/A, XPS, TIFF, BMP, PNG, PCX and ASCII Text. Once viewed, a PCL or Text file can be printed to any Windows printer driver. This is useful in when you have a non-LaserJet PCL printer and need to...
10.87 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.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