Interface InputStreamMapper

All Known Implementing Classes:
DefaultInputStreamMapper

@DefaultImplementation(DefaultInputStreamMapper.class) public interface InputStreamMapper
Since:
1.0
Author:
Pavol Gressa
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    toByteArray(@NonNull InputStream inputStream)
    Transforms an InputStream into a byte array.
  • Method Details

    • toByteArray

      byte[] toByteArray(@NonNull @NonNull InputStream inputStream)
      Transforms an InputStream into a byte array.
      Parameters:
      inputStream - Input Stream.
      Returns:
      the byte array