Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
byte <> string conversion utilities
C Makefile
branch: master

Readme.md

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

Something went wrong with that request. Please try again.