package bencode

  1. Overview
  2. Docs
type token =
  1. | INT of int
  2. | STRING of string
  3. | LIST_START
  4. | DICT_START
  5. | END
  6. | EOF
val bencode : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Bencode_types.t
val bencodes : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Bencode_types.t list