File: README.md

package info (click to toggle)
stringencoders 3.10.3%2Bgit20160924-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,144 kB
  • ctags: 725
  • sloc: ansic: 17,159; cpp: 407; python: 319; makefile: 179; sh: 34
file content (30 lines) | stat: -rw-r--r-- 1,027 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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. 

## 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`