com.moesol.nio
Interface BufferMarker
- All Known Implementing Classes:
- UnsignedByteBuffer, UnsignedLongBuffer, UnsignedShortBuffer
public interface BufferMarker
Marker interface for our extended buffer types. See IntBuffer, ShortBuffer, etc.
We would have just derived from Buffer, but apparently sun had other ideas.
capacity
int capacity()
position
int position()
position
BufferMarker position(int newPosition)
limit
int limit()
limit
BufferMarker limit(int newLimit)
mark
BufferMarker mark()
reset
BufferMarker reset()
clear
BufferMarker clear()
flip
BufferMarker flip()
rewind
BufferMarker rewind()
remaining
int remaining()
hasRemaining
boolean hasRemaining()
isReadOnly
boolean isReadOnly()
getByteBuffer
ByteBuffer getByteBuffer()
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.