Article View: ibm.software.vajava.language
Article #2Re: How to read a binary file into an byte array?
From: William Brogden
Date: Fri, 28 Jan 2000 00:00
Date: Fri, 28 Jan 2000 00:00
18 lines
1395 bytes
1395 bytes
Hannes Heckner wrote: > > Hi, > > I need some java code to read efficiently a binary file > into a byte array. Best would be if the entire file would > be read in one step into the array (for best performance) > > Thanks for any tip > Hannes > You should be looking at methods in java.io.RandomAccessFile or java.io.FileInputStream WBB
Technical Details
Message-ID:
<3891CBA1.D78D6225@bga.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<949060661946@munich.ixos.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,7805c4e1f27894f5 X-Google-Attributes: gid1089d0,public X-Google-Thread: 10a146,7805c4e1f27894f5 X-Google-Attributes: gid10a146,public X-Google-Thread: fbe9c,7805c4e1f27894f5 X-Google-Attributes: gidfbe9c,public X-Google-Thread: 114aa0,7805c4e1f27894f5 X-Google-Attributes: gid114aa0,public X-Google-Thread: 104a59,7805c4e1f27894f5 X-Google-Attributes: gid104a59,public From: William Brogden <wbrogden@bga.com> Subject: Re: How to read a binary file into an byte array? Date: 2000/01/28 Message-ID: <3891CBA1.D78D6225@bga.com> X-Deja-AN: 578817423 X-NNTP-Posting-Host: feed1.realtime.net Content-Transfer-Encoding: 7bit References: <949060661946@munich.ixos.de> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Barely organized MIME-Version: 1.0 Newsgroups: ibm.software.vajava.language,borland.public.jbuilder.java.api,borland.public.jbuilder.java,microsoft.public.java.visualj++.general,comp.lang.java.programmer