internal static ByteBuffer Allocate(int bufferSize) { var buff = new ByteBuffer(); buff.SetLength(bufferSize); return buff; }
internal static ByteBuffer Allocate(int BUFFER_SIZE) { var buff = new ByteBuffer(); buff.SetLength(BUFFER_SIZE); return buff; }