svenvc / zinc

Zinc HTTP Components is an open-source Smalltalk framework to deal with the HTTP networking protocol.
MIT License
96 stars 56 forks source link

It should be possible to reset a ZnCharacterReadStream #137

Closed astares closed 4 months ago

astares commented 4 months ago

Run

a := ZnCharacterReadStream on: 'abc' asByteArray readStream.
a next.
a reset.
a next

and you will notice it is not possible to reset an instance of ZnCharacterReadStream as the method #reset is not implemented.

Implementation of #reset could be provided as ZnEncodedStream>>reset

reset
    stream reset

@svenvc