Home / Function/ setIntLE() — netty Function Reference

setIntLE() — netty Function Reference

Architecture documentation for the setIntLE() function in UnsafeByteBufUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6422ba42_8fde_33ae_f23d_417d3abfc919["setIntLE()"]
  2f99d7c3_a5a0_5538_ae7e_a825ef1ab37a["UnsafeByteBufUtil"]
  6422ba42_8fde_33ae_f23d_417d3abfc919 -->|defined in| 2f99d7c3_a5a0_5538_ae7e_a825ef1ab37a
  style 6422ba42_8fde_33ae_f23d_417d3abfc919 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java lines 190–199

    static void setIntLE(long address, int value) {
        if (UNALIGNED) {
            PlatformDependent.putInt(address, BIG_ENDIAN_NATIVE_ORDER ? Integer.reverseBytes(value) : value);
        } else {
            PlatformDependent.putByte(address, (byte) value);
            PlatformDependent.putByte(address + 1, (byte) (value >>> 8));
            PlatformDependent.putByte(address + 2, (byte) (value >>> 16));
            PlatformDependent.putByte(address + 3, (byte) (value >>> 24));
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setIntLE() do?
setIntLE() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java.
Where is setIntLE() defined?
setIntLE() is defined in buffer/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java at line 190.

Analyze Your Own Codebase

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

Try Supermodel Free