Package org.eclipse.jetty.http3.internal
Class VarLenInt
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 TypeMethodDescriptionboolean
decode
(ByteBuffer buffer, LongConsumer consumer) static void
encode
(ByteBuffer buffer, long value) static int
length
(long value) void
reset()
-
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)
-