Death::IO namespace

File system, streaming and IO-related classes.

Namespaces

namespace Compression
Data compression streaming interfaces.
namespace Http

Classes

class AndroidAssetStream
Read-only streaming directly from Android asset files.
class BoundedFileStream
Provides only specified portion of the stream from any seekable input stream.
class EmscriptenFilePicker
Allows a user to pick files in the browser.
class EmscriptenFileStream
Provides access to a file selected by the user in the browser.
class FileStream
Allows streaming from/to a file on a local filesystem.
class FileSystem
File system related methods.
class MemoryStream
Provides stream interface for a region of memory.
class PakFile
Provides read-only access to contents of .pak file.
class PakWriter
Allows to create a .pak file.
class Stream
Provides a generic view of a sequence of bytes.

Enums

enum class FileAccess { None = 0, Read = 0x01, Write = 0x02, ReadWrite = Read | Write, Exclusive = 0x10, InheritHandle = 0x20 }
Defines constants for read, write, or read/write access to a file, supports a bitwise combination of its member values.
enum class PakPreferredCompression { None, Deflate, Lz4, Zstd }
Preferred file compression, used in PakWriter::AddFile()
enum class SeekOrigin { Begin, Current, End }
Specifies the position in a stream to use for seeking.

Typedefs

using fs = FileSystem
Convenient shortcut to FileSystem.

Enum documentation

enum class Death::IO::FileAccess

Defines constants for read, write, or read/write access to a file, supports a bitwise combination of its member values.

Enumerators
None

Read

Read access to the file.

Write

Write access to the file.

ReadWrite

Read and write access to the file.

Exclusive

Access to the file should be exclusive (not shared)

InheritHandle

A child process can inherit this handle.

enum class Death::IO::PakPreferredCompression

Preferred file compression, used in PakWriter::AddFile()

Enumerators
None

None

Deflate

Deflate

Lz4

LZ4

Zstd

Zstandard

enum class Death::IO::SeekOrigin
#include <IO/Stream.h>

Specifies the position in a stream to use for seeking.

Enumerators
Begin

Specifies the beginning of a stream.

Current

Specifies the current position within a stream.

End

Specifies the end of a stream.

Typedef documentation

using Death::IO::fs = FileSystem

Convenient shortcut to FileSystem.