HPInc / jipp

A Java-compatible implementation of IPP
MIT License
153 stars 42 forks source link

IppOutputStream and IppInputStream parallelism #79

Closed GladeDiviney closed 4 years ago

GladeDiviney commented 4 years ago

It doesn't make sense to use IppInputStream.readPacket() to read an IppPacket, but not use IppOutputStream.write(packet) to write one.

Internally, encoding (write) logic should be moved out of IppPacket, AttributeGroup, etc to simplify those classes.