Class VarLenInt

java.lang.Object
org.eclipse.jetty.http3.internal.VarLenInt

public class VarLenInt extends Object

Encodes and decodes long values as specified by QUIC.

  • Field Details

  • Constructor Details

    • VarLenInt

      public VarLenInt()
  • Method Details

    • reset

      public void reset()
    • decode

      public boolean decode(ByteBuffer buffer, LongConsumer consumer)
    • encode

      public static void encode(ByteBuffer buffer, long value)
    • length

      public static int length(long value)