writeToAndGetBytes() — spring-boot Function Reference
Architecture documentation for the writeToAndGetBytes() function in ContentTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4c4672df_a6d5_14b6_1171_47c232e2ab42["writeToAndGetBytes()"] 9ebc4306_d79e_54d0_7bdc_8633153ec75e["ofWhenStreamReturnsWritable()"] 9ebc4306_d79e_54d0_7bdc_8633153ec75e -->|calls| 4c4672df_a6d5_14b6_1171_47c232e2ab42 6469a69c_85ea_31ab_bd90_206203bf3646["ofWhenStringReturnsWritable()"] 6469a69c_85ea_31ab_bd90_206203bf3646 -->|calls| 4c4672df_a6d5_14b6_1171_47c232e2ab42 7ecd95fa_2f9a_c53e_f323_bdf5c9026f50["ofWhenBytesReturnsWritable()"] 7ecd95fa_2f9a_c53e_f323_bdf5c9026f50 -->|calls| 4c4672df_a6d5_14b6_1171_47c232e2ab42 style 4c4672df_a6d5_14b6_1171_47c232e2ab42 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/io/ContentTests.java lines 79–83
private byte[] writeToAndGetBytes(Content writable) throws IOException {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
writable.writeTo(outputStream);
return outputStream.toByteArray();
}
Domain
Subdomains
Called By
- ofWhenBytesReturnsWritable()
- ofWhenStreamReturnsWritable()
- ofWhenStringReturnsWritable()
Source
Frequently Asked Questions
What does writeToAndGetBytes() do?
writeToAndGetBytes() is a function in the spring-boot codebase.
What calls writeToAndGetBytes()?
writeToAndGetBytes() is called by 3 function(s): ofWhenBytesReturnsWritable, ofWhenStreamReturnsWritable, ofWhenStringReturnsWritable.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free