R
Ron Albright
You use a ByteArrayOutputStream but only way you can access the result
is by getting a copy of the byte array each time you write. Is there a
better way to do this that doesn't require creating a new byte array
for each write? I looked at the nio package and didn't see any support
for writing objects to a file.
is by getting a copy of the byte array each time you write. Is there a
better way to do this that doesn't require creating a new byte array
for each write? I looked at the nio package and didn't see any support
for writing objects to a file.