readVariableLengthInteger() — netty Function Reference
Architecture documentation for the readVariableLengthInteger() function in Http3CodecUtils.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 253fd570_9b76_c6bb_6cd5_3681f8ea127e["readVariableLengthInteger()"] 2d36ae1b_0899_d9aa_9040_95c1421cfa14["Http3CodecUtils"] 253fd570_9b76_c6bb_6cd5_3681f8ea127e -->|defined in| 2d36ae1b_0899_d9aa_9040_95c1421cfa14 style 253fd570_9b76_c6bb_6cd5_3681f8ea127e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java lines 174–187
static long readVariableLengthInteger(ByteBuf in, int len) {
switch (len) {
case 1:
return in.readUnsignedByte();
case 2:
return in.readUnsignedShort() & 0x3fff;
case 4:
return in.readUnsignedInt() & 0x3fffffff;
case 8:
return in.readLong() & 0x3fffffffffffffffL;
default:
throw new IllegalArgumentException();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does readVariableLengthInteger() do?
readVariableLengthInteger() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java.
Where is readVariableLengthInteger() defined?
readVariableLengthInteger() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java at line 174.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free