Home / Function/ writeVariableLengthInteger() — netty Function Reference

writeVariableLengthInteger() — netty Function Reference

Architecture documentation for the writeVariableLengthInteger() function in Http3CodecUtils.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3a9e2974_48e7_ecdd_a4da_fc9a981d13dd["writeVariableLengthInteger()"]
  2d36ae1b_0899_d9aa_9040_95c1421cfa14["Http3CodecUtils"]
  3a9e2974_48e7_ecdd_a4da_fc9a981d13dd -->|defined in| 2d36ae1b_0899_d9aa_9040_95c1421cfa14
  94a67ebd_2b78_3b76_f061_1f528f5902be["numBytesForVariableLengthInteger()"]
  3a9e2974_48e7_ecdd_a4da_fc9a981d13dd -->|calls| 94a67ebd_2b78_3b76_f061_1f528f5902be
  9db4098b_e129_9a7d_b453_62b201fbb00a["encodeLengthIntoBuffer()"]
  3a9e2974_48e7_ecdd_a4da_fc9a981d13dd -->|calls| 9db4098b_e129_9a7d_b453_62b201fbb00a
  style 3a9e2974_48e7_ecdd_a4da_fc9a981d13dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java lines 130–133

    static void writeVariableLengthInteger(ByteBuf out, long value) {
        int numBytes = numBytesForVariableLengthInteger(value);
        writeVariableLengthInteger(out, value, numBytes);
    }

Domain

Subdomains

Frequently Asked Questions

What does writeVariableLengthInteger() do?
writeVariableLengthInteger() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java.
Where is writeVariableLengthInteger() defined?
writeVariableLengthInteger() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java at line 130.
What does writeVariableLengthInteger() call?
writeVariableLengthInteger() calls 2 function(s): encodeLengthIntoBuffer, numBytesForVariableLengthInteger.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free