Interface ByteArrayFactory

All Known Implementing Classes:
ByteArrayPool, SimpleByteArrayFactory

public interface ByteArrayFactory
A factory for ByteArrays.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int size)
    Creates an instance of ByteArray of size specified by the size parameter.
  • Method Details

    • 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