Sha256: 88868974c29cf73ed70d9cfb32bde7f5e77591b8bf5e61eb8cf13099b03af3ac

Contents?: true

Size: 1.1 KB

Versions: 6

Compression:

Stored size: 1.1 KB

Contents

fast c-string transformations

[![Build Status](https://travis-ci.org/client9/stringencoders.svg?branch=master)](https://travis-ci.org/client9/stringencoders)

Hello!

I don't use this library anymore and try to avoid C programming if possible.  That said,
I'm very happy to accept pull-requests and collaborators.

## Install from Source

* You'll need to install autoconf, automake and libtool
* run `./bootstrap.sh`
* run `./configure`
* run `make && make check`

## Known Issues:

* `modp_base64_decode` expects **aligned** strings as input.  For Intel, is
  doesn't matter.  But for ARM chips it can segfault.
* `modp_numtoa.c` functions may produce different rounding than whatever
  `printf` is on your system. 
* On mingw (windows) compiling with `-D__USE_MINGW_ANSI_STDIO` gives the 
  standard `prinf` behavior.

## Alpine Linux / musl-libc

* As mentioned, the tests for `modp_numtoa.c`  may fail due to a different
  rounding algorithm.
* https://wiki.alpinelinux.org/wiki/How_to_get_regular_stuff_working
* `apk add gcc bash autoconf automake libtools util-linux pciutils usbutils coreutils binutils findutils grep`

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffi-hydrogen-0.1.5 vendor/stringencoders/README.md
ffi-hydrogen-0.1.4 vendor/stringencoders/README.md
ffi-hydrogen-0.1.3 vendor/stringencoders/README.md
ffi-hydrogen-0.1.2 vendor/stringencoders/README.md
ffi-hydrogen-0.1.1 vendor/stringencoders/README.md
ffi-hydrogen-0.1.0 vendor/stringencoders/README.md