Register / Login
I/O and Streams
posted 12 years ago
I got a problem with a
object not writing all of the bytes I pass to it via a
Say, byteBufferArray has length 100 and each
object in it is one line of the file so the file
have 100 lines but it has less (only 16)
fileChannel.write(byteBufferArray) only writes 16 array elements instead of 100...
I don't use this class (
) very often maybe someone can help.
[ September 17, 2004: Message edited by: Lukas Alamar ]
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Reading bytes from FileChannel...
NX: URLyBird 1.1.3
FileChannel and thread safety
Exception in thread "main" java.lang.NullPointerException
NX:should lock the database during the creating?