|
Codec.Utils | Portability | portable | Stability | experimental | Maintainer | dominic.steinitz@blueyonder.co.uk |
|
|
|
|
|
Description |
Utilities for coding and decoding.
|
|
Synopsis |
|
|
|
|
Types and Constants
|
|
|
The basic type for encoding and decoding.
|
|
|
The most significant bit of an Octet.
|
|
Octet Conversion Functions
|
|
|
Convert from twos complement.
|
|
|
|
|
Take a number a convert it to base n as a list of octets.
|
|
|
Take a list of octets (a number expressed in base n) and convert it
to a number.
|
|
|
See listToOctets.
|
|
|
Converts a list of numbers into a list of octets.
The resultant list has nulls trimmed from the end to make this the dual
of listFromOctets (except when the original octet list ended with nulls;
see trimNulls).
|
|
|
Take the length of the required number of octets and convert the
number to base 256 padding it out to the required length. If the
required length is less than the number of octets of the converted
number then return the converted number. NB this is different from
the standard ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf
but mimics how replicate behaves.
|
|
Produced by Haddock version 2.6.1 |