Home / Function/ _setShortLE() — netty Function Reference

_setShortLE() — netty Function Reference

Architecture documentation for the _setShortLE() function in UnpooledDirectByteBuf.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  a7ab5310_2a54_ab18_d7b3_dd265e18a7ea["_setShortLE()"]
  9d6a7cd0_08a5_9155_3c10_b8a8fd6480e9["UnpooledDirectByteBuf"]
  a7ab5310_2a54_ab18_d7b3_dd265e18a7ea -->|defined in| 9d6a7cd0_08a5_9155_3c10_b8a8fd6480e9
  9227405f_42f2_925d_5a57_145999e5270e["ByteBuf()"]
  9227405f_42f2_925d_5a57_145999e5270e -->|calls| a7ab5310_2a54_ab18_d7b3_dd265e18a7ea
  style a7ab5310_2a54_ab18_d7b3_dd265e18a7ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java lines 457–464

    @Override
    protected void _setShortLE(int index, int value) {
        if (PlatformDependent.hasVarHandle()) {
            VarHandleByteBufferAccess.setShortLE(buffer, index, value);
            return;
        }
        buffer.putShort(index, ByteBufUtil.swapShort((short) value));
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does _setShortLE() do?
_setShortLE() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java.
Where is _setShortLE() defined?
_setShortLE() is defined in buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java at line 457.
What calls _setShortLE()?
_setShortLE() is called by 1 function(s): ByteBuf.

Analyze Your Own Codebase

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

Try Supermodel Free