Add support for writeBinary()
with InputStream
to ToXMLGenerator
#270
Milestone
writeBinary()
with InputStream
to ToXMLGenerator
#270
The regular
UTF8JSONGenerator
has a method:That supports reading an InputStream, converting the binary stream to Base64, and directly writing to the content output. Thereby saving some memory by not having to load the entire stream's content into memory all at once.
However,
ToXmlGenerator
does not implement this method. It only implements a writeBinary overload that takes an already existingbyte[]
.I first reported this issue on the jackson-user google group, and @cowtowncoder suggested I open an issue on GitHub.
The text was updated successfully, but these errors were encountered: