New methods in KiwiIO to create a ByteArrayInputStream from a String #998
Labels
new feature
A new feature such as a new class, method, package, group of classes, etc.
Milestone
Create methods in
KiwiIO
to create aByteArrayInputStream
from aString
. The places we use this (currently internal to several services) always use UTF-8 but we can have two methods, one that defaults to UTF-8 and an overload that accepts aCharset
, e.g.The "UTF8" method can simply delegate to the other method, passing UTF-8 for the
Charset
argument.Also, the existing
newByteArrayInputStreamOfLines
method could be refactored to call the UTF-8 variant.The text was updated successfully, but these errors were encountered: