33#ifndef API_MIP_STREAM_UTILS_H_
34#define API_MIP_STREAM_UTILS_H_
92MIP_API std::vector<uint8_t>
ReadFromStream(
const std::shared_ptr<mip::Stream>& stream);
A class that defines the interface between the MIP SDK and stream-based content.
A file export/import macros.
A file containing the Stream interface/class definition.
MIP_API std::shared_ptr< mip::Stream > CreateStreamFromBuffer(uint8_t *buffer, const int64_t size)
Creates an Stream from a buffer.
MIP_API std::shared_ptr< mip::Stream > CreateStreamFromStdStream(const std::shared_ptr< std::istream > &stdIStream)
Creates a Stream from a std::istream.
MIP_API std::vector< uint8_t > ReadFromStream(const std::shared_ptr< mip::Stream > &stream)
Read all the bytes of stream.