-
-
Notifications
You must be signed in to change notification settings - Fork 231
Closed
Milestone
Description
The regular UTF8JSONGenerator
has a method:
writeBinary(Base64Variant b64variant, InputStream data, int dataLength)
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 existing byte[]
.
I first reported this issue on the jackson-user google group, and @cowtowncoder suggested I open an issue on GitHub.
richardlewan, mcorsen, aaronpike, jakewilson801, mikiebrenbren and 7 more
Metadata
Metadata
Assignees
Labels
No labels