Home / Function/ readBytes() — spring-boot Function Reference

readBytes() — spring-boot Function Reference

Architecture documentation for the readBytes() function in InspectedContentTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  fbff92e6_26c0_4dce_c68e_315d9cf03f82["readBytes()"]
  fd8482fc_7a7a_01a0_fed3_ce62d8bb22ca["ofSmallContent()"]
  fd8482fc_7a7a_01a0_fed3_ce62d8bb22ca -->|calls| fbff92e6_26c0_4dce_c68e_315d9cf03f82
  0f86c8ae_8012_6f11_08af_d10f916ebe5a["ofLargeContent()"]
  0f86c8ae_8012_6f11_08af_d10f916ebe5a -->|calls| fbff92e6_26c0_4dce_c68e_315d9cf03f82
  f50c9e91_27e9_d1e6_9e8e_6ac131b92e1a["ofWritingSingleBytesShouldWork()"]
  f50c9e91_27e9_d1e6_9e8e_6ac131b92e1a -->|calls| fbff92e6_26c0_4dce_c68e_315d9cf03f82
  style fbff92e6_26c0_4dce_c68e_315d9cf03f82 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/io/InspectedContentTests.java lines 107–111

	private byte[] readBytes(InspectedContent content) throws IOException {
		ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
		content.writeTo(outputStream);
		return outputStream.toByteArray();
	}

Domain

Subdomains

Called By

  • ofLargeContent()
  • ofSmallContent()
  • ofWritingSingleBytesShouldWork()

Frequently Asked Questions

What does readBytes() do?
readBytes() is a function in the spring-boot codebase.
What calls readBytes()?
readBytes() is called by 3 function(s): ofLargeContent, ofSmallContent, ofWritingSingleBytesShouldWork.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free