Uses of Class
com.kaazing.gateway.client.html5.ByteBuffer

Packages that use ByteBuffer
com.kaazing.gateway.client.html5   
com.kaazing.gateway.client.protocol.stomp   
 

Uses of ByteBuffer in com.kaazing.gateway.client.html5
 

Methods in com.kaazing.gateway.client.html5 that return ByteBuffer
static ByteBuffer ByteBuffer.allocate(int capacity)
          Allocates a new ByteBuffer instance.
 ByteBuffer ByteBuffer.clear()
          Clears the buffer.
 ByteBuffer ByteBuffer.compact()
          Compacts the buffer by removing leading bytes up to the buffer position, and decrements the limit and position values accordingly.
 ByteBuffer ByteBuffer.duplicate()
          Duplicates the buffer by reusing the underlying byte array but with independent position, limit and capacity.
 ByteBuffer ByteBuffer.fill(int size)
          Fills the buffer with a repeated number of zeros.
 ByteBuffer ByteBuffer.fillWith(byte b, int size)
          Fills the buffer with a specific number of repeated bytes.
 ByteBuffer ByteBuffer.flip()
          Flips the buffer.
 ByteBuffer ByteBuffer.get(byte[] dst)
           
 ByteBuffer ByteBuffer.get(byte[] dst, int offset, int length)
           
 ByteBuffer ByteSocketEvent.getData()
          Returns the ByteBuffer containing data from the ByteSocket
 ByteBuffer ByteBuffer.limit(int limit)
          Sets the limit for this buffer
 ByteBuffer ByteBuffer.mark()
          Marks a position in the buffer.
 ByteBuffer ByteBuffer.position(int position)
          Sets the current position in this buffer
 ByteBuffer ByteBuffer.put(byte v)
          Puts a single byte number into the buffer at the current position.
 ByteBuffer ByteBuffer.putAt(int i, byte v)
          Puts a single byte number into the buffer at the specified index.
 ByteBuffer ByteBuffer.putBuffer(ByteBuffer v)
          Puts a buffer into the buffer at the current position.
 ByteBuffer ByteBuffer.putBufferAt(int i, ByteBuffer v)
          Puts a buffer into the buffer at the specified index.
 ByteBuffer ByteBuffer.putBytes(byte[] b)
          Puts a single-byte array into the buffer at the current position.
 ByteBuffer ByteBuffer.putBytesAt(int i, byte[] b)
          Puts a single-byte array into the buffer at the specified index.
 ByteBuffer ByteBuffer.putInt(int v)
          Puts a 4-byte number into the buffer at the current position.
 ByteBuffer ByteBuffer.putIntAt(int i, int v)
          Puts a 4-byte number into the buffer at the specified index.
 ByteBuffer ByteBuffer.putLong(long v)
          Puts an 8-byte number into the buffer at the current position.
 ByteBuffer ByteBuffer.putLongAt(int i, long v)
          Puts an 8-byte number into the buffer at the specified index.
 ByteBuffer ByteBuffer.putPrefixedString(int fieldSize, java.lang.String v, java.nio.charset.Charset cs)
          Puts a string into the buffer at the specified index, using the character set to encode the string as bytes.
 ByteBuffer ByteBuffer.putShort(short v)
          Puts a 2-byte number into the buffer at the current position.
 ByteBuffer ByteBuffer.putShortAt(int i, short v)
          Puts a 2-byte number into the buffer at the specified index.
 ByteBuffer ByteBuffer.putString(java.lang.String v, java.nio.charset.Charset cs)
          Puts a string into the buffer at the current position, using the character set to encode the string as bytes.
 ByteBuffer ByteBuffer.reset()
          Resets the buffer position using the mark.
 ByteBuffer ByteBuffer.rewind()
          Rewinds the buffer.
 ByteBuffer ByteBuffer.skip(int size)
          Skips the specified number of bytes from the current position.
 ByteBuffer ByteBuffer.slice()
          Returns a sliced buffer, setting the position to zero, and decrementing the limit accordingly.
static ByteBuffer ByteBuffer.wrap(byte[] bytes)
          Wraps a byte array as a new ByteBuffer instance.
static ByteBuffer ByteBuffer.wrap(byte[] bytes, int offset, int length)
          Wraps a byte array as a new ByteBuffer instance.
static ByteBuffer ByteBuffer.wrap(java.nio.ByteBuffer in)
          Wraps a java.nio.ByteBuffer as a new ByteBuffer instance.
 

Methods in com.kaazing.gateway.client.html5 with parameters of type ByteBuffer
 void ByteSocket.postMessage(ByteBuffer buf)
          Writes the content of the given buffer
 ByteBuffer ByteBuffer.putBuffer(ByteBuffer v)
          Puts a buffer into the buffer at the current position.
 ByteBuffer ByteBuffer.putBufferAt(int i, ByteBuffer v)
          Puts a buffer into the buffer at the specified index.
 

Constructors in com.kaazing.gateway.client.html5 with parameters of type ByteBuffer
ByteSocketEvent(ByteSocket source, ByteSocketEvent.Type type, ByteBuffer data)
          Creates an ByteSocketEvent object
 

Uses of ByteBuffer in com.kaazing.gateway.client.protocol.stomp
 

Methods in com.kaazing.gateway.client.protocol.stomp that return ByteBuffer
 ByteBuffer StompEvent.getBody()
          Returns the content of the stomp frame as a ByteBuffer
 



Copyright © 2009. All Rights Reserved.