|
|
ICEBERG_EXPORT std::string_view | CodecName (PuffinCompressionCodec codec) |
| |
|
ICEBERG_EXPORT Result< PuffinCompressionCodec > | PuffinCompressionCodecFromName (std::string_view codec_name) |
| |
|
ICEBERG_EXPORT std::string | ToString (PuffinCompressionCodec codec) |
| |
|
ICEBERG_EXPORT std::string | ToString (const Blob &blob) |
| |
|
ICEBERG_EXPORT std::string | ToString (const BlobMetadata &blob_metadata) |
| |
|
ICEBERG_EXPORT std::string | ToString (const FileMetadata &file_metadata) |
| |
|
ICEBERG_EXPORT bool | IsFlagSet (std::span< const uint8_t, 4 > flags, PuffinFlag flag) |
| | Check if a flag is set in the flags bytes.
|
| |
|
ICEBERG_EXPORT void | SetFlag (std::span< uint8_t, 4 > flags, PuffinFlag flag) |
| | Set a flag in the flags bytes.
|
| |
|
ICEBERG_EXPORT Result< std::vector< std::byte > > | Compress (PuffinCompressionCodec codec, std::span< const std::byte > input) |
| | Compress data using the specified codec.
|
| |
|
ICEBERG_EXPORT Result< std::vector< std::byte > > | Decompress (PuffinCompressionCodec codec, std::span< const std::byte > input) |
| | Decompress data using the specified codec.
|
| |
Puffin file metadata, reader, and writer APIs.