Error codes for failures while reading or writing binary streams.

Synopsis

Declared in <llvm/Support/BinaryStreamError.h>

enum class stream_error_code : int;

Members

Name

Description

unspecified

An unspecified stream error occurred.

stream_too_short

The stream does not contain enough bytes for the requested operation.

invalid_array_size

The buffer size is not a multiple of the array element size.

invalid_offset

The specified offset is outside the bounds of the stream.

filesystem_error

An I/O error occurred on the underlying file system.

Created with MrDocs