Interface BufferAllocator


public interface BufferAllocator
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.buffer.ByteBuf
     
    io.netty.buffer.ByteBuf
    allocateBuffer(boolean direct)
     
    io.netty.buffer.ByteBuf
    allocateBuffer(boolean direct, int bufferSize)
     
    io.netty.buffer.ByteBuf
    allocateBuffer(int bufferSize)
     
    int
     
  • Method Details

    • allocateBuffer

      io.netty.buffer.ByteBuf allocateBuffer()
    • allocateBuffer

      io.netty.buffer.ByteBuf allocateBuffer(boolean direct)
    • allocateBuffer

      io.netty.buffer.ByteBuf allocateBuffer(int bufferSize)
    • allocateBuffer

      io.netty.buffer.ByteBuf allocateBuffer(boolean direct, int bufferSize)
    • getBufferSize

      int getBufferSize()