Skip to main content

encode

Function encode 

Source
pub fn encode(
    revision: &Contract,
    resource: &str,
    confirmed: bool,
    catalog: &Catalog,
) -> Option<[u8; 3]>
Expand description

The compact attachment an archive writing under catalog gives a value of resource (<kind token>/<template>) in revision (core §4.4, “Writing it”). None where it writes the JSON form: the catalog does not list the revision, or the resource is past its 128th.