String() — netty Function Reference
Architecture documentation for the String() function in ByteBufUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 632b425c_5040_57a9_8906_d675e7ea802e["String()"] 9bc5a946_7621_d763_22b7_e0076aadaab8["HexUtil"] 632b425c_5040_57a9_8906_d675e7ea802e -->|defined in| 9bc5a946_7621_d763_22b7_e0076aadaab8 96cdf8e2_4e5f_72af_07c1_cc29b6248734["String()"] 96cdf8e2_4e5f_72af_07c1_cc29b6248734 -->|calls| 632b425c_5040_57a9_8906_d675e7ea802e 96cdf8e2_4e5f_72af_07c1_cc29b6248734["String()"] 632b425c_5040_57a9_8906_d675e7ea802e -->|calls| 96cdf8e2_4e5f_72af_07c1_cc29b6248734 d1e0cafb_0b31_a92a_454a_9ab6c7a82f80["appendPrettyHexDump()"] 632b425c_5040_57a9_8906_d675e7ea802e -->|calls| d1e0cafb_0b31_a92a_454a_9ab6c7a82f80 style 632b425c_5040_57a9_8906_d675e7ea802e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/ByteBufUtil.java lines 1576–1594
private static String hexDump(ByteBuf buffer, int fromIndex, int length) {
checkPositiveOrZero(length, "length");
if (length == 0) {
return "";
}
int endIndex = fromIndex + length;
char[] buf = new char[length << 1];
int srcIdx = fromIndex;
int dstIdx = 0;
for (; srcIdx < endIndex; srcIdx ++, dstIdx += 2) {
System.arraycopy(
HEXDUMP_TABLE, buffer.getUnsignedByte(srcIdx) << 1,
buf, dstIdx, 2);
}
return new String(buf);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does String() do?
String() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java.
Where is String() defined?
String() is defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java at line 1576.
What does String() call?
String() calls 2 function(s): String, appendPrettyHexDump.
What calls String()?
String() is called by 1 function(s): String.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free