Package io.micronaut.objectstorage
Class DefaultInputStreamMapper
java.lang.Object
io.micronaut.objectstorage.DefaultInputStreamMapper
- All Implemented Interfaces:
InputStreamMapper
- Since:
- 1.0
- Author:
- Pavol Gressa
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
toByteArray
(@NonNull InputStream inputStream) Transforms an InputStream into a byte array.
-
Constructor Details
-
DefaultInputStreamMapper
public DefaultInputStreamMapper()
-
-
Method Details
-
toByteArray
Description copied from interface:InputStreamMapper
Transforms an InputStream into a byte array.- Specified by:
toByteArray
in interfaceInputStreamMapper
- Parameters:
inputStream
- Input Stream.- Returns:
- the byte array
-