Java Utwórz bajtearrayinputstream

// Creates a ByteArrayInputStream that reads entire array
ByteArrayInputStream input = new ByteArrayInputStream(byte[] arr);
SAMER SAEID