@Test public void ofBytes() { assertEquals(0L, SampleSize.of(NULL_BYTE, NULL_BYTE, NULL_BYTE, NULL_BYTE).getAsLong()); assertThrows(IllegalArgumentException.class, () -> SampleSize.of(NULL_BYTE, NULL_BYTE, NULL_BYTE, NULL_BYTE, NULL_BYTE)); }
public static SampleSize of(byte... values) { return new SampleSize(values); }
SampleSize extends UnsignedIntLEByteValue { public static SampleSize of(byte... values) { return new SampleSize(values); } }
SampleSize extends UnsignedIntLEByteValue { public static SampleSize of(byte... values) { return new SampleSize(values); } private  SampleSize(byte... values); private  SampleSize(long value); private  SampleSize(String size); private  SampleSize(ByteBuf byteBuf); }
SampleSize extends UnsignedIntLEByteValue { public static SampleSize of(byte... values) { return new SampleSize(values); } private  SampleSize(byte... values); private  SampleSize(long value); private  SampleSize(String size); private  SampleSize(ByteBuf byteBuf); static SampleSize of(byte... values); static SampleSize of(long value); static SampleSize of(LengthSupplier lengthSupplier); static SampleSize of(String size); static SampleSize of(ByteBuf byteBuf); }
SampleSize extends UnsignedIntLEByteValue { public static SampleSize of(byte... values) { return new SampleSize(values); } private  SampleSize(byte... values); private  SampleSize(long value); private  SampleSize(String size); private  SampleSize(ByteBuf byteBuf); static SampleSize of(byte... values); static SampleSize of(long value); static SampleSize of(LengthSupplier lengthSupplier); static SampleSize of(String size); static SampleSize of(ByteBuf byteBuf); static final int NUM_BYTES; }