Uses of Class
net.sf.asyncobjects.io.BinaryData

Packages that use BinaryData
net.sf.asyncobjects.io This package contains core IO interfaces. 
net.sf.asyncobjects.io.adapters This package contains adapters to blocking java streams. 
net.sf.asyncobjects.io.util This package contains uitility input and output streams. 
net.sf.asyncobjects.net.nio This package contains implementation of network interfaces that is based on non-blocking NIO socket API. 
 

Uses of BinaryData in net.sf.asyncobjects.io
 

Methods in net.sf.asyncobjects.io that return BinaryData
 BinaryData BinaryData.concat(BinaryData data)
          Concatenate
static BinaryData BinaryData.concat(BinaryData[] other)
          Concatenate binary data into large binary data
 BinaryData BinaryData.drop(int n)
           
 BinaryData BinaryData.dropTo(int n, byte[] target, int startOffset)
          Copy data to array and drop copied data.
static BinaryData BinaryData.empty()
           
 BinaryData BinaryData.flatten()
          Defragment the node and ensure that it uses minimal amound of allocated data.
static BinaryData BinaryData.fromBytes(byte... data)
          Get binary data wrapper from specified byte array
static BinaryData BinaryData.fromBytes(byte[] data, int offset, int length)
          Get binary data wrapper from specified byte array
static BinaryData BinaryData.get(ByteBuffer buffer)
          Get data from NIO buffer.
 BinaryData BinaryData.head(int n)
           
abstract  BinaryData BinaryData.ByteIterator.nextSubrange(int length)
          Next subrange
static BinaryData BinaryData.put(ByteBuffer buffer, BinaryData data)
          Put binary data into the buffer
 BinaryData BinaryData.subrange(int start, int limit)
           
 BinaryData BinaryDataBuilder.toBinaryData()
           
 

Methods in net.sf.asyncobjects.io that return types with arguments of type BinaryData
 Promise<BinaryData> BinaryData.promise()
           
static Promise<BinaryData> IOUtils.readAll(AByteInput in, int limit)
          Read all data from the stream.
static Promise<BinaryData> IOUtils.readFully(AByteInput in, int amount)
          Read exactly specified amount data from byte input
 

Methods in net.sf.asyncobjects.io with parameters of type BinaryData
 void BinaryDataBuilder.append(BinaryData data)
          Append binary data
 int BinaryData.compareTo(BinaryData data)
          Compare an object to another binary data
 BinaryData BinaryData.concat(BinaryData data)
          Concatenate
static BinaryData BinaryData.concat(BinaryData[] other)
          Concatenate binary data into large binary data
 boolean BinaryData.endsWith(BinaryData data)
          Check if one binary data ends with another
static BinaryData BinaryData.put(ByteBuffer buffer, BinaryData data)
          Put binary data into the buffer
 

Uses of BinaryData in net.sf.asyncobjects.io.adapters
 

Methods in net.sf.asyncobjects.io.adapters that return types with arguments of type BinaryData
 Promise<BinaryData> InputStreamAdapter.read(int limit)
          read some bytes
 

Methods in net.sf.asyncobjects.io.adapters with parameters of type BinaryData
 Promise<Void> InputStreamAdapter.pushback(BinaryData data)
          Pushback data
 Promise<Void> OutputStreamAdapter.write(BinaryData data)
          Write data to stream
 

Uses of BinaryData in net.sf.asyncobjects.io.util
 

Methods in net.sf.asyncobjects.io.util that return BinaryData
protected  BinaryData RandomByteInput.generate(int limit)
           
 

Constructors in net.sf.asyncobjects.io.util with parameters of type BinaryData
RecordingByteOutput(BinaryData initialData)
          A constructor
RepeatingByteInput(BinaryData repeatedData)
          A consructor
RepeatingByteInput(BinaryData repeatedData, long toGenerate)
          A consructor
 

Uses of BinaryData in net.sf.asyncobjects.net.nio
 

Methods in net.sf.asyncobjects.net.nio that return types with arguments of type BinaryData
 Promise<BinaryData> NIOSocketInputStream.read(int limit)
          Read some bytes.
 

Methods in net.sf.asyncobjects.net.nio with parameters of type BinaryData
 Promise<Void> NIOSocketInputStream.pushback(BinaryData data)
          Push back data
 Promise<Void> NIOSocketOutputStream.write(BinaryData data)
          Write data
 



Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.