Home / Function/ getUnsignedShort() — netty Function Reference

getUnsignedShort() — netty Function Reference

Architecture documentation for the getUnsignedShort() function in SpdyCodecUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8dab82c0_1285_b50a_f185_6b533dd03bc1["getUnsignedShort()"]
  f1977c7d_b1bb_ca38_4f32_4a5d0b3425cf["SpdyCodecUtil"]
  8dab82c0_1285_b50a_f185_6b533dd03bc1 -->|defined in| f1977c7d_b1bb_ca38_4f32_4a5d0b3425cf
  style 8dab82c0_1285_b50a_f185_6b533dd03bc1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyCodecUtil.java lines 246–249

    static int getUnsignedShort(ByteBuf buf, int offset) {
        return (buf.getByte(offset)     & 0xFF) << 8 |
                buf.getByte(offset + 1) & 0xFF;
    }

Domain

Subdomains

Frequently Asked Questions

What does getUnsignedShort() do?
getUnsignedShort() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyCodecUtil.java.
Where is getUnsignedShort() defined?
getUnsignedShort() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyCodecUtil.java at line 246.

Analyze Your Own Codebase

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

Try Supermodel Free