svenvc / zinc

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

It should be possible to reset a ZnCharacterReadStream #137

Closed astares closed 6 months ago

astares commented 6 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