Crate cart

source ·

Modules

Structs

A struct returned from encoding functions that may return a buffer.
A struct returned from decoding functions that may return a buffer.

Constants

Error code when a string argument could not be parsed
Error code when input json could not be parsed
Error code when an input file could not be opened
Error code when an output file could not be opened
Error code when an error occurs processing the input data
Error code set when a call completes without errors

Functions

Release any resources behind a CartPackResult struct.
Release any resources behind a CartUnpackResult struct.
Read header metadata only from a buffer of cart data.
Open the cart file at the given path and read out its metadata.
Read header metadata only from a cart file object.
Test if the given buffer contains cart data.
Test if the file at a given path contains cart data.
Test if the given file object contains cart data.
Cart encode a buffer.
Cart encode a file from disk into a new file.
Cart encode between open libc file handles.
Decode cart data from a buffer.
Decode a cart encoded file into a new file.
Decode cart data from an open libc file into another.