Skip to main content

write-bencode

function

bencode.core/write-bencode

(write-bencode [output thing])
Write the given thing to the output stream. “Thing” means here a string, map, sequence or integer. Alternatively an ByteArray may be provided whose contents are written as a bytestring. Similar the contents of a given InputStream are written as a byte string. Named things (symbols or keywords) are written in the form 'namespace/name'.

No examples yet. Be the first to add one!