Class PoolArena.HeapArena

    • Constructor Detail

    • Method Detail

      • newByteArray

        private static byte[] newByteArray​(int size)
      • newChunk

        protected PoolChunk<byte[]> newChunk​(int pageSize,
                                             int maxPageIdx,
                                             int pageShifts,
                                             int chunkSize)
        Specified by:
        newChunk in class PoolArena<byte[]>
      • memoryCopy

        protected void memoryCopy​(byte[] src,
                                  int srcOffset,
                                  PooledByteBuf<byte[]> dst,
                                  int length)
        Specified by:
        memoryCopy in class PoolArena<byte[]>