public class SimpleByteArrayFactory extends Object implements ByteArrayFactory
ByteArray backed by a heap-allocated
IoBuffer. The free method on returned
ByteArrays is a nop.| Constructor and Description |
|---|
SimpleByteArrayFactory()
Creates a new instance of SimpleByteArrayFactory.
|
public SimpleByteArrayFactory()
public ByteArray create(int size)
ByteArrayFactoryByteArray of size specified by the
size parameter.create in interface ByteArrayFactorysize - The size of the ByteArray