Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ByteBuffer byteBuffer = ByteBuffer.allocate(encryptedBytes.length);
- byteBuffer.put(encryptedBytes);
- byte[] toWrite = new byte[byteBuffer.remaining()];
- byteBuffer.get(toWrite);
- outputStream.write(toWrite);
- outputStream.flush();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement