[ https://issues.apache.org/jira/browse/GROOVY-7502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992108#comment-14992108 ]
Pascal Schumacher commented on GROOVY-7502: ------------------------------------------- to quote [~keegan] from [https://github.com/apache/incubator-groovy/pull/132] {quote:}Shouldn't there be an arg to specify what encoding to use to interpret the bytes?{quote} > Add org.codehaus.groovy.runtime.IOGroovyMethods.getText(ByteArrayOutputStream) > ------------------------------------------------------------------------------ > > Key: GROOVY-7502 > URL: https://issues.apache.org/jira/browse/GROOVY-7502 > Project: Groovy > Issue Type: Wish > Affects Versions: 2.4.5 > Reporter: Jochen Kemnade > Priority: Minor > Labels: patch-available > Attachments: > 0001-GROOVY-7502-Add-IOGroovyMethods.getText-ByteArrayOut.patch > > > A {{ByteArrayOutputStream}} can be transformed to a String via > {{toByteArray}}. Groovy should provide a shortcut for that. -- This message was sent by Atlassian JIRA (v6.3.4#6332)