Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

netstring

  1. Outdated egg!
  2. 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.