read() — spring-boot Function Reference
Architecture documentation for the read() function in LogUpdateEvent.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e747cbab_4279_bc75_c0de_0be2893114bb["read()"] e0d8bdd3_bcb8_0ae9_0abc_5d0d23d31eab["readAll()"] e0d8bdd3_bcb8_0ae9_0abc_5d0d23d31eab -->|calls| e747cbab_4279_bc75_c0de_0be2893114bb c6fb1aae_4d88_7cbe_ca22_ec85b8010be2["LogUpdateEvent()"] e747cbab_4279_bc75_c0de_0be2893114bb -->|calls| c6fb1aae_4d88_7cbe_ca22_ec85b8010be2 style e747cbab_4279_bc75_c0de_0be2893114bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/LogUpdateEvent.java lines 94–107
private static @Nullable LogUpdateEvent read(InputStream inputStream) throws IOException {
byte[] header = read(inputStream, 8);
if (header == null) {
return null;
}
StreamType streamType = StreamType.forId(header[0]);
long size = 0;
for (int i = 0; i < 4; i++) {
size = (size << 8) + (header[i + 4] & 0xff);
}
byte[] payload = read(inputStream, size);
Assert.state(payload != null, "'payload' must not be null");
return new LogUpdateEvent(streamType, payload);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does read() do?
read() is a function in the spring-boot codebase.
What does read() call?
read() calls 1 function(s): LogUpdateEvent.
What calls read()?
read() is called by 1 function(s): readAll.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free