org.apache.mina.util.byteaccess
Interface ByteArrayFactory

All Known Implementing Classes:
ByteArrayPool, SimpleByteArrayFactory

public interface ByteArrayFactory

A factory for ByteArrays.

Version:
$Rev$, $Date$
Author:
The Apache MINA Project (dev@mina.apache.org)

Method Summary
 ByteArray create(int size)
          Creates an instance of ByteArray of size specified by the size parameter.
 

Method Detail

create

ByteArray create(int size)
Creates an instance of ByteArray of size specified by the size parameter.

Parameters:
size - The size of the ByteArray
Returns:
The ByteArray


Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.