Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2007 Sun Microsystems, Inc. All rights reserved.

The Java™ Binding for the OpenGL® ES API

Uses of Class
java.nio.ByteBuffer

Packages that use ByteBuffer
java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages. 
 

Uses of ByteBuffer in java.nio
 

Methods in java.nio that return ByteBuffer
static ByteBuffer ByteBuffer.allocateDirect(int capacity)
          Allocates a new direct byte buffer.
static ByteBuffer ByteBuffer.wrap(byte[] array, int offset, int length)
          Wraps a byte array into a buffer.
static ByteBuffer ByteBuffer.wrap(byte[] array)
          Wraps a byte array into a buffer.
abstract  ByteBuffer ByteBuffer.slice()
          Creates a new byte buffer whose content is a shared subsequence of this buffer's content.
abstract  ByteBuffer ByteBuffer.put(byte b)
          Relative put method  (optional operation).
abstract  ByteBuffer ByteBuffer.put(int index, byte b)
          Absolute put method  (optional operation).
 ByteBuffer ByteBuffer.get(byte[] dst, int offset, int length)
          Relative bulk get method.
 ByteBuffer ByteBuffer.get(byte[] dst)
          Relative bulk get method.
 ByteBuffer ByteBuffer.put(ByteBuffer src)
          Relative bulk put method  (optional operation).
 ByteBuffer ByteBuffer.put(byte[] src, int offset, int length)
          Relative bulk put method  (optional operation).
 ByteBuffer ByteBuffer.put(byte[] src)
          Relative bulk put method  (optional operation).
abstract  ByteBuffer ByteBuffer.putShort(short value)
          Relative put method for writing a short value  (optional operation).
abstract  ByteBuffer ByteBuffer.putShort(int index, short value)
          Absolute put method for writing a short value  (optional operation).
abstract  ByteBuffer ByteBuffer.putInt(int value)
          Relative put method for writing an int value  (optional operation).
abstract  ByteBuffer ByteBuffer.putInt(int index, int value)
          Absolute put method for writing an int value  (optional operation).
abstract  ByteBuffer ByteBuffer.putFloat(float value)
          Relative put method for writing a float value  (optional operation).
abstract  ByteBuffer ByteBuffer.putFloat(int index, float value)
          Absolute put method for writing a float value  (optional operation).
 

Methods in java.nio with parameters of type ByteBuffer
 ByteBuffer ByteBuffer.put(ByteBuffer src)
          Relative bulk put method  (optional operation).
 


Final Release, Oct 2006

This specification is protected under the JSPA version 2.6.
Copyright © 2006 Sun Microsystems, Inc. 4150 Network Circle, California, 95054, U.S.A.
All Rights Reserved. Use is subject to license terms.
Copyright © 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 239 specification.