xiaojing012/moon-warc/examples does not have a README file

    demo_audit

    fn demo_audit() -> Unit

    Audit a small archive and print every finding.

    demo_build

    fn demo_build() -> Unit

    Build one record and print its serialized form.

    demo_index

    fn demo_index() -> Unit

    Build an index and query it by target URI and by type.

    demo_parse

    fn demo_parse() -> Unit

    Parse a small archive and report what came back.

    demo_validate

    fn demo_validate() -> Unit

    Validate a well-formed archive and a broken record.

    ex_archive_of

    Parse a list of records as one archive.

    ex_cat

    fn ex_cat(a : Bytes, b : Bytes) -> Bytes

    Concatenate two byte buffers.

    ex_response

    fn ex_response(id : String, target : String, block : Bytes) ->
    WarcRecord

    A small response record with the given target URI.

    ex_text

    fn ex_text(bytes : Bytes) -> String

    Render a UTF-8 byte buffer as text (demo blocks are ASCII).