Crate webc

source ·
Expand description

A library for reading and writing WEBC files.

Re-exports

Modules

  • A compatibility layer for dealing with different versions of the WEBC binary format.
  • Package metadata.
  • Parsing code for v1 of the WEBC format.
  • Parsing code for v2 of the WEBC format.

Structs

  • a cheaply cloneable path segment (i.e. the path, to, and file.txt in path/to/file.txt).
  • A series of PathSegments specifying the absolute path to something.
  • A WEBC file’s version number.

Enums

Constants

  • File identification bytes stored at the beginning of the file.

Traits

Functions

  • Check whether something looks like a valid WEBC file and extract its version number.
  • Check if the provided item looks like a WEBC file.

Type Definitions