Codec.decode_field/3
Removes one framing newline and validates the complete field value.
Source and package
- Qualified name
-
LibTmux .Codec. decode _field/3 - Module
- LibTmux
- Declared in
Codec- Package
- libtmux
- Source
- lib/libtmux/codec.ex
- decode_field(response, type, options \\ []) @spec decode_field(binary(), :bytes | :string, [ field
_option () ]) :: {:ok, binary()} | {:error, LibTmux ()}decode_field(response, type, options \\ []) @spec decode_field(binary(), :integer, [field.Error .t _option ()]) :: {:ok, integer()} | {:error, LibTmux ()}decode_field(response, type, options \\ []) @spec decode_field(binary(), :boolean, [field.Error .t _option ()]) :: {:ok, boolean()} | {:error, LibTmux ()}.Error .t -
Description
See the worked example.
Recorded calls
source callsThe Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Codec.decode_field/3.
Guides
task materialPages that discuss decode_field/3.