public class SimpleByteArrayFactory extends java.lang.Object implements ByteArrayFactory
ByteArray
backed by a heap-allocated
IoBuffer
. The free method on returned
ByteArray
s is a nop.构造器和说明 |
---|
SimpleByteArrayFactory()
Creates a new instance of SimpleByteArrayFactory.
|
public SimpleByteArrayFactory()
public ByteArray create(int size)
ByteArray
of size specified by the
size parameter.create
在接口中 ByteArrayFactory
size
- The size of the ByteArray