digest() — netty Function Reference
Architecture documentation for the digest() function in NativeLibraryLoader.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2c0bfd33_d083_1660_4138_47c853fc9d33["digest()"] e940cc67_3be6_5ff3_e560_4d68972dc13b["NativeLibraryLoader"] 2c0bfd33_d083_1660_4138_47c853fc9d33 -->|defined in| e940cc67_3be6_5ff3_e560_4d68972dc13b 0e52c8e7_1e67_40f4_2a1c_6c33fc417f6e["URL()"] 0e52c8e7_1e67_40f4_2a1c_6c33fc417f6e -->|calls| 2c0bfd33_d083_1660_4138_47c853fc9d33 style 2c0bfd33_d083_1660_4138_47c853fc9d33 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/NativeLibraryLoader.java lines 314–326
private static byte[] digest(MessageDigest digest, URL url) {
try (InputStream in = url.openStream()) {
byte[] bytes = new byte[8192];
int i;
while ((i = in.read(bytes)) != -1) {
digest.update(bytes, 0, i);
}
return digest.digest();
} catch (IOException e) {
logger.debug("Can't read resource.", e);
return null;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does digest() do?
digest() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/NativeLibraryLoader.java.
Where is digest() defined?
digest() is defined in common/src/main/java/io/netty/util/internal/NativeLibraryLoader.java at line 314.
What calls digest()?
digest() is called by 1 function(s): URL.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free