Package io.micronaut.objectstorage
Interface InputStreamMapper
- All Known Implementing Classes:
DefaultInputStreamMapper
- Since:
- 1.0
- Author:
- Pavol Gressa
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
toByteArray
(@NonNull InputStream inputStream) Transforms an InputStream into a byte array.
-
Method Details
-
toByteArray
Transforms an InputStream into a byte array.- Parameters:
inputStream
- Input Stream.- Returns:
- the byte array
-