netstring

  1. netstring
    1. Description
    2. Author
    3. Documentation

Description

This egg provides porocedures for reading and writing so called netstrings.

Author

Moritz Heidkamp

Documentation

[procedure] (netstring-write str #!optional port)

Writes str to port ((current-output-port) by default).

[procedure] (netstring-read #!optional port)

Reads a netstring from port ((current-input-port) by default) and returns its interpretation.

[procedure] (string->netstring str)

Converts str to a netstring.

[procedure] (netstring->string ns)

Returns the interpretation of ns.