Iconvex.Converter (iconvex v0.1.1)

Copy Markdown View Source

Immutable state returned by the buffered chunked-conversion API.

Treat fields as opaque. Use Iconvex.feed/2, Iconvex.finish/1, and Iconvex.finish_with_state/1 to operate on a converter.

Summary

Types

t()

@type t() :: %Iconvex.Converter{
  chunks: [binary()],
  finished?: boolean(),
  from: String.t() | atom(),
  from_entry: map(),
  input_bytes: non_neg_integer(),
  options: keyword(),
  pending: binary(),
  provider_snapshot: %{optional(atom()) => atom()},
  stateful_source?: boolean(),
  to: String.t() | atom(),
  to_entry: map()
}