- All Superinterfaces:
- ByteSource, Source
- All Known Implementing Classes:
- public interface BulkByteSource
- extends ByteSource
A source that can also serve a large chunk directly as a byte
|Fields inherited from interface juju.reattore.io.Source
Returns the next chunk of the source in a ByteBuffer.
public java.nio.ByteBuffer getBulk()
- Returns the next chunk of the source in a ByteBuffer. This
buffer should be read until empty. Subsequent calls advance
on by the buffer size and ignore any unread data in the
buffer. The buffer is empty (remaining = 0) on EOF.
- The next chunk of the source in a buffer.
java.io.IOException - on error.
Copyright © 2002-2003 Michael Hope. All Rights Reserved.