Skip to content

clibs/bytes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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

API

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

Packages

No packages published

Contributors 3

  •  
  •  
  •