Packmatic.Field protocol (Packmatic v2.0.0)

View Source

Represents data fields used internally by Packmatic.Encoder to build the Zip archive.

Summary

Types

t()

All the types that implement this protocol.

Functions

Encodes the given structure into an IO List, or crashes if the structure is invalid.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

encode(field)

@spec encode(t()) :: iodata() | no_return()

Encodes the given structure into an IO List, or crashes if the structure is invalid.