Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bencode decoder in ANSI C

This is a strict steaming parser for bencode. Inputs are thoroughly validated and invalid inputs are rejected.

The full API is documented in bencode.h. Here's the list of functions:

void bencode_init(struct bencode *, const void *, size_t);
void bencode_reinit(struct bencode *, const void *, size_t);
void bencode_free(struct bencode *);
int  bencode_next(struct bencode *);

Run the test suite with make check.

About

Bencode decoder in ANSI C

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages