Rather than having encode write a single item and decode read a lazy sequence, the semantics should be changed to include encode-all and decode-all methods that operate on sequences. This implies a breaking change to decode such that it always returns a single item.
Rather than having
encode
write a single item anddecode
read a lazy sequence, the semantics should be changed to includeencode-all
anddecode-all
methods that operate on sequences. This implies a breaking change todecode
such that it always returns a single item.