Home / Function/ unsignedShortBE() — netty Function Reference

unsignedShortBE() — netty Function Reference

Architecture documentation for the unsignedShortBE() function in SslUtils.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  24d300d4_d690_6d2a_fdb8_f77f905d267e["unsignedShortBE()"]
  8b8e2625_56a3_eef0_1cb3_fa21bb9b476e["SslUtils"]
  24d300d4_d690_6d2a_fdb8_f77f905d267e -->|defined in| 8b8e2625_56a3_eef0_1cb3_fa21bb9b476e
  b3dfbeee_ea43_2ac2_8456_df612fe27732["getEncryptedPacketLength()"]
  b3dfbeee_ea43_2ac2_8456_df612fe27732 -->|calls| 24d300d4_d690_6d2a_fdb8_f77f905d267e
  580d16b5_ef46_b549_e1a1_e390d8faf580["shortBE()"]
  24d300d4_d690_6d2a_fdb8_f77f905d267e -->|calls| 580d16b5_ef46_b549_e1a1_e390d8faf580
  style 24d300d4_d690_6d2a_fdb8_f77f905d267e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SslUtils.java lines 422–429

    @SuppressWarnings("deprecation")
    private static int unsignedShortBE(ByteBuf buffer, int offset) {
        int value = buffer.getUnsignedShort(offset);
        if (buffer.order() == ByteOrder.LITTLE_ENDIAN) {
            value = Integer.reverseBytes(value) >>> Short.SIZE;
        }
        return value;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does unsignedShortBE() do?
unsignedShortBE() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslUtils.java.
Where is unsignedShortBE() defined?
unsignedShortBE() is defined in handler/src/main/java/io/netty/handler/ssl/SslUtils.java at line 422.
What does unsignedShortBE() call?
unsignedShortBE() calls 1 function(s): shortBE.
What calls unsignedShortBE()?
unsignedShortBE() is called by 1 function(s): getEncryptedPacketLength.

Analyze Your Own Codebase

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

Try Supermodel Free