Fixing typo: from ByteArrayInputStream to byte[]