class Bencoding::Parser
- Bencoding::Parser
- Reference
- Object
Defined in:
bencoding/parser.crConstructors
Instance Method Summary
- #next_kind
- #read_any : Any
- #read_begin_dictionary
- #read_begin_list
- #read_dictionary(key_type : K.class, value_type : V.class) : Hash(K, V) forall K, V
- #read_dictionary : Hash(String, Any)
- #read_end
- #read_end_dictionary
- #read_end_list
- #read_i16 : Int16
- #read_i32 : Int32
- #read_i64 : Int64
- #read_i8 : Int8
- #read_list(element_type : T.class) : Array(T) forall T
- #read_list : Array(Any)
- #read_string : String
- #read_u16 : UInt16
- #read_u32 : UInt32
- #read_u64 : UInt64
- #read_u8 : UInt8
- #try_read(&)
Instance methods inherited from class Object
bencode(builder : Bencoding::Builder)bencode : String bencode
Constructor methods inherited from class Object
bdecode(io : IO) : selfbdecode(string : String) : self bdecode