encodeCopy() — netty Function Reference
Architecture documentation for the encodeCopy() function in Snappy.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5719cd76_7f65_93ab_f33b_8f7696b21cd0["encodeCopy()"] 6a7984ff_ded6_5ba2_b4bb_f92d0d3986f8["Snappy"] 5719cd76_7f65_93ab_f33b_8f7696b21cd0 -->|defined in| 6a7984ff_ded6_5ba2_b4bb_f92d0d3986f8 2c81d28d_4011_0232_9bac_669b46d6eed3["encode()"] 2c81d28d_4011_0232_9bac_669b46d6eed3 -->|calls| 5719cd76_7f65_93ab_f33b_8f7696b21cd0 d29f08b5_907e_686e_c00a_161e362f7bdd["encodeCopyWithOffset()"] 5719cd76_7f65_93ab_f33b_8f7696b21cd0 -->|calls| d29f08b5_907e_686e_c00a_161e362f7bdd style 5719cd76_7f65_93ab_f33b_8f7696b21cd0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/Snappy.java lines 301–313
private static void encodeCopy(ByteBuf out, int offset, int length) {
while (length >= 68) {
encodeCopyWithOffset(out, offset, 64);
length -= 64;
}
if (length > 64) {
encodeCopyWithOffset(out, offset, 60);
length -= 60;
}
encodeCopyWithOffset(out, offset, length);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does encodeCopy() do?
encodeCopy() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Snappy.java.
Where is encodeCopy() defined?
encodeCopy() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Snappy.java at line 301.
What does encodeCopy() call?
encodeCopy() calls 1 function(s): encodeCopyWithOffset.
What calls encodeCopy()?
encodeCopy() is called by 1 function(s): encode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free