🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18525

Re: RandomAccessFile weirdness

#18525
From: angus m. fraser
Date: Fri, 05 Jun 1998 00:00
19 lines
1096 bytes
In article <35781FFA.4E08492E@corp.borland.com>, rwilkman@corp.borland.com 
(Rich Wilkman) wrote:

> Angus:
> 
> You're probably getting a "big indian, little indian" issue here. 
> When I was reading ints from a binary file I had to remember to
> bitshift them because they're different in Java (to get around the
> lack of a "signed" keyword).
> 
> -Rich
> 

Thanks. That's what I thought was happening. It's going to be very tedious 
though having to read 2 bytes at a time and use a DIY method to convert 
them to the 'correct' short type.

Angus
Technical Details
Message-ID: <memo.19980605181318.252B@amf.btinternet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35781FFA.4E08492E@corp.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6e0494f6dbba0af4
X-Google-Attributes: gidf74b3,public
From: java@afraser.cix.co.uk (angus m. fraser)
Subject: Re: RandomAccessFile weirdness
Date: 1998/06/05
Message-ID: <memo.19980605181318.252B@amf.btinternet.com>
X-Deja-AN: 359886000
References: <35781FFA.4E08492E@corp.borland.com>
X-URL: http://www.ameol.com
X-News-Software: Ameol2
Reply-To: java@afraser.cix.co.uk
Organization: afraser@cix
Newsgroups: borland.public.jbuilder.java.language