Example usage for Java org.springframework.core.io ByteArrayResource fields, constructors, methods, implement or subclass
The text is from its open source code.
ByteArrayResource(byte[] byteArray) Create a new ByteArrayResource . | |
ByteArrayResource(byte[] byteArray, @Nullable String description) Create a new ByteArrayResource with a description. |
byte[] | getByteArray() Return the underlying byte array. |
InputStream | getInputStream() This implementation returns a ByteArrayInputStream for the underlying byte array. |