LCByteBuffer is a Light Crafts version of Java's ByteBuffer that allows different implementations. Ideally, you'd like to derive from ByteBuffer, but you can't since it contains abstract package-protected methods that you can't implement. This is totally brain-damaged.
Despite not being derived from ByteBuffer, the API is designed to mimick ByteBuffer's API.
Most of the methods are declared to throw {@link IOException} because someimplementations may choose to use file I/O as the backing-store for the buffer. This is annoying, but that's life with checked exceptions. @author Paul J. Lucas [paul@lightcrafts.com]
| |
| |