Article View: borland.public.jbuilder.java.language
Article #17049Re: Newbie having trouble reading random access binary data file
From: Richard Wilkman
Date: Tue, 15 Dec 1998 00:00
Date: Tue, 15 Dec 1998 00:00
56 lines
2512 bytes
2512 bytes
Gary: I'd get a first year college programming text -- one that covers binary numbers and how they work. That'll explain shifting, etc. and how/why it works. Going the other way will be a little trickier, though. -Rich Gary Irwin wrote: > > Richard: > > Many thanks for the reply; I shall study the examples carefully. Since I > need two-way translations, do you know where I can find documentation about > these conversions? I have the usual compliment of "how to" Java and JBuilder > books but they aren't that sophisticated. Should I check the Sun website? > > Thanks, > Gary > > Richard Wilkman wrote in message <36768C2C.16682BEA@inprise.com>... > >Gary: > > > >Yep. You need converters to go from sets of bytes to primitive data > >types. It's done the usual way (bit shifting) in Java. I've pasted > >in some simple converter methods... > >........... > > > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >Rich Wilkman > >Senior Quality Assurance Engineer > >Borland JBuilder Team > > > >If you see something that looks like an opinion up there, > >it's mine and mine alone. > > > >Mail sent to me from the newsgroups won't bounce but will > >be ignored. If I have time, I'll respond, but you have > >a better chance if you confine your posts to the newsgroups > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<36770251.69959BBA@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<755po6$ojs2@forums.borland.com> <36768C2C.16682BEA@inprise.com> <75637g$ok419@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,db8922f63d0c85da X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: Newbie having trouble reading random access binary data file Date: 1998/12/15 Message-ID: <36770251.69959BBA@inprise.com> X-Deja-AN: 422695368 Content-Transfer-Encoding: 7bit References: <755po6$ojs2@forums.borland.com> <36768C2C.16682BEA@inprise.com> <75637g$ok419@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language