Add example of ByteArrayInputStream.