bento v1.0.0
  • Pages
  • Modules

    View Source Bento.Parser (bento v1.0.0)

    A BEP-3 conforming Bencoding parser.

    See:

    • http://www.bittorrent.org/beps/bep_0003.html#bencoding
    • https://wiki.theory.org/BitTorrentSpecification#Bencoding

    Link to this section Summary

    Types

    parse_err()
    t()

    Functions

    parse(iodata)
    parse!(iodata)

    Link to this section Types

    Link to this type

    parse_err()

    View Source
    @type parse_err() :: :invalid | {:invalid, String.t()}
    Link to this type

    t()

    View Source
    @type t() :: integer() | String.t() | list() | map()

    Link to this section Functions

    Link to this function

    parse(iodata)

    View Source
    @spec parse(iodata()) :: {:ok, t()} | {:error, parse_err()}
    Link to this function

    parse!(iodata)

    View Source
    @spec parse!(iodata()) :: t() | no_return()

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.1) for the Elixir programming language