realbasic-nug
[Top] [All Lists]

Re: Packing any file in a stream (including resource forks)

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Packing any file in a stream (including resource forks)
From: dda <headspin at gmail dot com>
Date: Sun, 31 Jul 2005 03:29:08 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sQ5opEBoHzgZ9y8sACNqoPF8R4teNe8LFe2TWyJjDpyyfgXf21tjuFi/ozJeX1KxmwdK93497a2PWqX95AHKWrsJS7b7v+PUfbP2AV4tIoUKCf5XgHW61gO4azkS9ZFnrRYd6SjrD4rbQK4BOTb7adhpaQmG1lTBxDM//Qmpxuc=
References: <75AC0F35-3650-4444-8491-1F38ABB496DC at mac dot com>
You could binhex the files. A cheap and easy way to do it would be to
write a 5-line Python script [Python has a binhex module] and run that
in a shell class.

A more manly way would be to implement a binhex class :-)

HTH

-- 
dda 
http://sungnyemun.org/
RBDeveloper Columnist, "Beyond the Limits"
http://rbdeveloper.com

Liste Française Solutions RB
http://www.solutionsrb.com/

On 7/30/05, Stefan Pantke <seaside dot ki at mac dot com> wrote:
> Hi,
> 
> I need to map/unmap  any Mac or Windows file into a sequence
> of bytes.
> 
> Well, for Windows and most OS X files, this is straight forward.
> 
> For files having a resource fork, this isn't straigthforward to me.
> Does someone has a code snippet for this task?
> 
> I'd even pay some buckets for such a feature, if it would be available
> by means of a 'drop-in' code base.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>