Article View: ibm.software.vajava.language
Article #1How to read a binary file into an byte array?
From: Hannes Heckner
Date: Fri, 28 Jan 2000 00:00
Date: Fri, 28 Jan 2000 00:00
13 lines
1383 bytes
1383 bytes
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 If you know a solution to this problem, please submit it to http://www.the-codebook.com/show_code.asp?ProblemId=1298 +++++++++++ Posted via The-Codebook.Com, The Source for Developers +++++++++++ http://www.The-Codebook.com/ Java, VisualBasic, VisualC++
Technical Details
Message-ID:
<949060661946@munich.ixos.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,7805c4e1f27894f5,start X-Google-Attributes: gid1089d0,public X-Google-Thread: fbe9c,7805c4e1f27894f5,start X-Google-Attributes: gidfbe9c,public X-Google-Thread: 10a146,7805c4e1f27894f5,start X-Google-Attributes: gid10a146,public X-Google-Thread: 114aa0,7805c4e1f27894f5,start X-Google-Attributes: gid114aa0,public X-Google-Thread: 104a59,7805c4e1f27894f5,start X-Google-Attributes: gid104a59,public From: Hannes Heckner <Hannes.Heckner@munich.ixos.de> Subject: How to read a binary file into an byte array? Date: 2000/01/28 Message-ID: <949060661946@munich.ixos.de> X-Deja-AN: 578735518 Organization: The-Codebook.Com 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