Home / Function/ readUnsignedShortBE() — netty Function Reference

readUnsignedShortBE() — netty Function Reference

Architecture documentation for the readUnsignedShortBE() function in ByteBufUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d84c7d92_fa68_209e_1d46_04bdff272703["readUnsignedShortBE()"]
  920454f6_25f6_4a9b_3d32_9684c3e11f6c["ByteBufUtil"]
  d84c7d92_fa68_209e_1d46_04bdff272703 -->|defined in| 920454f6_25f6_4a9b_3d32_9684c3e11f6c
  c340e0c0_0b18_8c35_d012_35b3c9e5829b["swapShort()"]
  d84c7d92_fa68_209e_1d46_04bdff272703 -->|calls| c340e0c0_0b18_8c35_d012_35b3c9e5829b
  style d84c7d92_fa68_209e_1d46_04bdff272703 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ByteBufUtil.java lines 691–695

    @SuppressWarnings("deprecation")
    public static int readUnsignedShortBE(ByteBuf buf) {
        return buf.order() == ByteOrder.BIG_ENDIAN? buf.readUnsignedShort() :
                swapShort((short) buf.readUnsignedShort()) & 0xFFFF;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does readUnsignedShortBE() do?
readUnsignedShortBE() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java.
Where is readUnsignedShortBE() defined?
readUnsignedShortBE() is defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java at line 691.
What does readUnsignedShortBE() call?
readUnsignedShortBE() calls 1 function(s): swapShort.

Analyze Your Own Codebase

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

Try Supermodel Free