Use simpler ByteArrayInputStream constructor