Skip to content
/ bytes Public
forked from clibs/bytes

byte <> string conversion utilities

Notifications You must be signed in to change notification settings

sciascid/bytes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bytes

Convert bytelength strings such as "5kb" to a long long and vice versa.

Installation

Install with clib:

$ clib install clibs/file
long long
string_to_bytes(const char *str);

char *
bytes_to_string(long long bytes);

For usage view the tests

About

byte <> string conversion utilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%