The methods of Java.Nio.ShortBuffer are listed below. For a list of all members, see the ShortBuffer Members list.
See Also: Inherited members from Java.Nio.Buffer
static | Allocate(int)Creates a short buffer based on a newly allocated short array. | |
override | ArrayOffset()Returns the offset into the array returned by array of the first element of the buffer (optional operation). | |
abstract | AsReadOnlyBuffer()Returns a read-only buffer that shares its content with this buffer. | |
abstract | Compact()Compacts this short buffer. | |
CompareTo(ShortBuffer)Compare the remaining shorts of this buffer to another short buffer's remaining shorts. | ||
abstract | Duplicate()Returns a duplicated buffer that shares its content with this buffer. | |
abstract | Get()Returns the short at the current position and increases the position by 1. | |
Get(short[])Reads shorts from the current position into the specified short array and increases the position by the number of shorts read. | ||
abstract | Get(int)Returns the short at the specified index; the position is not changed. | |
Get(short[], int, int)Reads shorts from the current position into the specified short array, starting from the specified offset, and increases the position by the number of shorts read. | ||
abstract | Order()Returns the byte order used by this buffer when converting shorts from/to bytes. | |
Put(ShortBuffer)Writes all the remaining shorts of the src short buffer to this buffer's current position, and increases both buffers' position by the number of shorts copied. | ||
abstract | Put(short)Writes the given short to the current position and increases the position by 1. | |
Put(short[])Writes shorts from the given short array to the current position and increases the position by the number of shorts written. | ||
abstract | Put(int, short)Writes a short to the specified index of this buffer; the position is not changed. | |
Put(short[], int, int)Writes shorts from the given short array, starting from the specified offset, to the current position and increases the position by the number of shorts written. | ||
abstract | Slice()Returns a sliced buffer that shares its content with this buffer. | |
static | Wrap(short[])Creates a new short buffer by wrapping the given short array. | |
static | Wrap(short[], int, int)Creates a new short buffer by wrapping the given short array. |