Re: Piggypack Encoding/Decoding on RandomAccessFile
- From: Jan Burse <janburse@xxxxxxxxxxx>
- Date: Thu, 03 Nov 2011 20:50:45 +0100
Joshua Cranmer schrieb:
The "standard way" (at least, all of the use cases I've ever had for
RandomAccessFile) effectively uses the methods that are associated with
java.io.DataInput to read data: read(byte[]), and read*().
I would like to use an arbirary encoding/decoding on top of the
byte stream to get a character stream. But since RandomAccessFile
does not implement InputStream/OutputStream, I cannot create
a InputStreamReader/OutputStreamWrite on top.
Bye
.
- Follow-Ups:
- Re: Piggypack Encoding/Decoding on RandomAccessFile
- From: Eric Sosman
- Re: Piggypack Encoding/Decoding on RandomAccessFile
- From: Lew
- Re: Piggypack Encoding/Decoding on RandomAccessFile
- References:
- Piggypack Encoding/Decoding on RandomAccessFile
- From: Jan Burse
- Re: Piggypack Encoding/Decoding on RandomAccessFile
- From: Joshua Cranmer
- Piggypack Encoding/Decoding on RandomAccessFile
- Prev by Date: Re: Piggypack Encoding/Decoding on RandomAccessFile
- Next by Date: looking for a simple JAVA code to attach to SQL via ODBC
- Previous by thread: Re: Piggypack Encoding/Decoding on RandomAccessFile
- Next by thread: Re: Piggypack Encoding/Decoding on RandomAccessFile
- Index(es):
Relevant Pages
|