Package | Description |
---|---|
java.nio |
Defines buffers, which are containers for data.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteBuffer
A byte buffer.
|
class |
FloatBuffer
A float buffer.
|
class |
IntBuffer
An int buffer.
|
class |
ShortBuffer
A short buffer.
|
Modifier and Type | Method and Description |
---|---|
Buffer |
Buffer.clear()
Clears this buffer.
|
Buffer |
Buffer.flip()
Flips this buffer.
|
Buffer |
Buffer.limit(int newLimit)
Sets this buffer's limit.
|
Buffer |
Buffer.position(int newPosition)
Sets this buffer's position.
|
Buffer |
Buffer.rewind()
Rewinds this buffer.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.