Package io.pravega.common.util
Class CompositeByteArraySegment.BufferLayout
- java.lang.Object
-
- io.pravega.common.util.CompositeByteArraySegment.BufferLayout
-
- Enclosing class:
- CompositeByteArraySegment
public static class CompositeByteArraySegment.BufferLayout extends java.lang.ObjectDefines the internal layout of aCompositeByteArraySegment.
-
-
Constructor Summary
Constructors Constructor Description BufferLayout(int bufferSizeBits)Creates a new instance of theCompositeByteArraySegment.BufferLayoutclass.
-
-
-
Constructor Detail
-
BufferLayout
public BufferLayout(int bufferSizeBits)
Creates a new instance of theCompositeByteArraySegment.BufferLayoutclass.- Parameters:
bufferSizeBits- The size of the buffer, expressed in bits. The size of the buffer will be equal to 2 to the power of this value.- Throws:
java.lang.IllegalArgumentException- If bufferSizeBits is less thanMIN_BIT_COUNTor greater than or equalMAX_BIT_COUNT.
-
-