Re: [NTLK] Developer question - Binary encoding?

From: Laurent Daudelin (laurent_daudelin_at_fanniemae.com)
Date: Wed Dec 11 2002 - 14:03:51 EST


On 11/12/02 13:48, "John Anderson" <dearjohn_at_everchanging.com> wrote:

> So, my question is: how do I accomplish this encoding for binary
> objects on the Newton, so I can transfer them to the Mac? And,
> secondly, what do you consider to be the best way to transfer binary
> data to the Newton? (Since I can run arbitrary scripts on the Newton, I
> can send this data in pretty much any matter or format.) I can't really
> reverse-engineer apps like NewTen because they're GPL, and I don't want
> to risk being required to GPL NewtSync and all of its plugins
> (including those that third party developers are building, since they
> link against files in NewtSync).
>
> Any thoughts/advice? Binary transfer (as well as strings) would be a
> major boon to NewtSync.

The only way I know in Cocoa to do binary encoding is using NSData. Don't
know how to transfer binary data to the Newton, though...

-Laurent.

-- 
===========================================================================
Laurent Daudelin                    Developer, Multifamily, ESO, Fannie Mae
mailto:Laurent_Daudelin_at_fanniemae.com                   Washington, DC, USA
************************* Usual disclaimers apply *************************
geek n.: A person who has chosen concentration rather than conformity; one
who pursues skill (especially technical skill) and imagination, not
mainstream social acceptance. Geeks usually have a strong case of neophilia.
Most geeks are adept with computers and treat hacker as a term of respect,
but not all are hackers themselves - and some who are in fact hackers
normally call themselves geeks anyway, because they (quite properly) regard
`hacker' as a label that should be bestowed by others rather than
self-assumed.

-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html Official Newton FAQ: http://www.chuma.org/newton/faq/



This archive was generated by hypermail 2.1.2 : Wed Jan 01 2003 - 10:02:14 EST