Pike v8.1 release 6

Method Protocols.Bittorrent.Bencoding.bits2string()


Method bits2string

string bits2string(array(bool) v)

Description

Convert an array of int(0..1) to a Bittorrent style bitstring. Input will be padded to even bytes.