Home / Function/ getShort() — netty Function Reference

getShort() — netty Function Reference

Architecture documentation for the getShort() function in AbstractUnsafeSwappedByteBuf.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  8187ff9c_c065_7bc0_5ac4_08546f3cf725["getShort()"]
  bd12fcab_af1c_9c67_1329_7f76867764ab["AbstractUnsafeSwappedByteBuf"]
  8187ff9c_c065_7bc0_5ac4_08546f3cf725 -->|defined in| bd12fcab_af1c_9c67_1329_7f76867764ab
  3510d325_4066_d263_33fd_d79e207b9200["getChar()"]
  3510d325_4066_d263_33fd_d79e207b9200 -->|calls| 8187ff9c_c065_7bc0_5ac4_08546f3cf725
  28472429_c9ce_0f80_3540_c210bec32cbb["getUnsignedShort()"]
  28472429_c9ce_0f80_3540_c210bec32cbb -->|calls| 8187ff9c_c065_7bc0_5ac4_08546f3cf725
  63ca539f_fa22_18e6_c56d_0848e13187f2["_getShort()"]
  8187ff9c_c065_7bc0_5ac4_08546f3cf725 -->|calls| 63ca539f_fa22_18e6_c56d_0848e13187f2
  style 8187ff9c_c065_7bc0_5ac4_08546f3cf725 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractUnsafeSwappedByteBuf.java lines 77–82

    @Override
    public final short getShort(int index) {
        wrapped.checkIndex(index, 2);
        short v = _getShort(wrapped, index);
        return nativeByteOrder ? v : Short.reverseBytes(v);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does getShort() do?
getShort() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractUnsafeSwappedByteBuf.java.
Where is getShort() defined?
getShort() is defined in buffer/src/main/java/io/netty/buffer/AbstractUnsafeSwappedByteBuf.java at line 77.
What does getShort() call?
getShort() calls 1 function(s): _getShort.
What calls getShort()?
getShort() is called by 2 function(s): getChar, getUnsignedShort.

Analyze Your Own Codebase

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

Try Supermodel Free