1#ifndef SOURCEMETA_CORE_IO_BYTESTREAM_H_
2#define SOURCEMETA_CORE_IO_BYTESTREAM_H_
4#ifndef SOURCEMETA_CORE_IO_EXPORT
5#include <sourcemeta/core/io_export.h>
10#include <initializer_list>
14namespace sourcemeta::core {
23#pragma warning(disable : 4251 4275)
38 SOURCEMETA_CORE_IO_EXPORT
57 SOURCEMETA_CORE_IO_EXPORT
58 auto bytes() const -> std::vector<std::
byte>;
62#pragma warning(default : 4251 4275)
SOURCEMETA_CORE_IO_EXPORT InputByteStream(std::initializer_list< std::uint8_t > bytes)
Construct the stream from the given byte values.
SOURCEMETA_CORE_IO_EXPORT auto bytes() const -> std::vector< std::byte >
The accumulated bytes.