_setShort() — netty Function Reference
Architecture documentation for the _setShort() function in UnpooledDirectByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 74d32676_2532_812c_cd8a_6c077fd0b017["_setShort()"] 9d6a7cd0_08a5_9155_3c10_b8a8fd6480e9["UnpooledDirectByteBuf"] 74d32676_2532_812c_cd8a_6c077fd0b017 -->|defined in| 9d6a7cd0_08a5_9155_3c10_b8a8fd6480e9 9227405f_42f2_925d_5a57_145999e5270e["ByteBuf()"] 9227405f_42f2_925d_5a57_145999e5270e -->|calls| 74d32676_2532_812c_cd8a_6c077fd0b017 style 74d32676_2532_812c_cd8a_6c077fd0b017 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java lines 448–455
@Override
protected void _setShort(int index, int value) {
if (PlatformDependent.hasVarHandle()) {
VarHandleByteBufferAccess.setShortBE(buffer, index, value);
return;
}
buffer.putShort(index, (short) (value & 0xFFFF));
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _setShort() do?
_setShort() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java.
Where is _setShort() defined?
_setShort() is defined in buffer/src/main/java/io/netty/buffer/UnpooledDirectByteBuf.java at line 448.
What calls _setShort()?
_setShort() 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