Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22468

offsets in a FileChannel ...

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From qwertmonkey@syberianoutpost.ru
Newsgroups comp.lang.java.programmer
Subject offsets in a FileChannel ...
Date Sat, 23 Feb 2013 15:36:08 +0000 (UTC)
Organization Aioe.org NNTP Server
Lines 11
Message-ID <kganl8$ir2$1@speranza.aioe.org> (permalink)
NNTP-Posting-Host jcJFTAhAdFLWfAXONlzC5w.user.speranza.aioe.org
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader NetComponents
Xref csiph.com comp.lang.java.programmer:22468

Show key headers only | View raw


 Also let's say after getting all the offsets at which a certain character
appears on a file, you want to check those offsets, by going the other way
around, that is setting the offset on the FileChannel and reading the
character off the buffer:
~ 
 FileChannel.position(lffst);
 c = cBfrUTF8.get();
~ 
 How would do that?
~ 
 lbrtchx

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

offsets in a FileChannel ... qwertmonkey@syberianoutpost.ru - 2013-02-23 15:36 +0000

csiph-web