Libraries anvil io OutputStream getBytes

binary getBytes()
Returns stream content as binary. NOTE. OutputStream must be an instance of ByteArrayOutputStream!
Throws BadParameter -  If instance was not ByteArrayOutputStream.