This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module dstr [Version: v01]

This documentation describes the Prokee module interface.


Static Methods:
encode
char *dstr::encode(const void *data,unsigned int length,const char *symbols)
decode
void *dstr::decode(const char *bstr,const char *symbols)
main
int dstr::main(int argc,char **argv)

Motivation


Static Methods

   encode


Encodes data.

Signature:
char *dstr::encode(const void *data,unsigned int length,const char *symbols)

Parameters:
Type Name Direction Description
const void *data[IN]Pointer to the data that should be encoded.
unsigned int lengthThe length (size) of the data pointed to by data.
const char *symbols[IN]A null-terminated string containing the alphabet to use for encoding.

Return value:
The null-terminated string that contains the encoded data.

   decode


Decodes the string bstr and returns the decoded data.

Signature:
void *dstr::decode(const char *bstr,const char *symbols)

Parameters:
Type Name Direction Description
const char *bstr[IN]A null-terminated string of encoded data as returned by encode().
const char *symbols[IN]A null-terminated string containing the alphabet to use for encoding.

Return value:
Returns a pointer to the new allocated memory block containing the decoded data.

   main


Runs dstr as if it would be called from the command-line.

See Commandline-Interface.

Signature:
int dstr::main(int argc,char **argv)

Parameters:
Type Name Direction Description
int argcThe number of command-line parameters.
char **argv[IN]The command-line parameters.

Return value:
Exit status.


Copyright © 2017 - 2019 by Andreas Pollhammer