Closed GladeDiviney closed 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.
IppInputStream.readPacket()
IppPacket
IppOutputStream.write(packet)
Internally, encoding (write) logic should be moved out of IppPacket, AttributeGroup, etc to simplify those classes.
It doesn't make sense to use
IppInputStream.readPacket()
to read anIppPacket
, but not useIppOutputStream.write(packet)
to write one.Internally, encoding (write) logic should be moved out of IppPacket, AttributeGroup, etc to simplify those classes.