java.lang.Object
org.eclipse.jetty.http3.internal.VarLenInt
Encodes and decodes long values as specified by
QUIC.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandecode(ByteBuffer buffer, LongConsumer consumer) static voidencode(ByteBuffer buffer, long value) static intlength(long value) voidreset()
-
Field Details
-
MAX_LENGTH
public static final int MAX_LENGTH- See Also:
-
-
Constructor Details
-
VarLenInt
public VarLenInt()
-
-
Method Details
-
reset
public void reset() -
decode
-
encode
-
length
public static int length(long value)
-