Advertisement
mrkirby153

Untitled

Jul 19th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. ByteBuffer byteBuffer = ByteBuffer.allocate(encryptedBytes.length);
  2. byteBuffer.put(encryptedBytes);
  3. byte[] toWrite = new byte[byteBuffer.remaining()];
  4. byteBuffer.get(toWrite);
  5. outputStream.write(toWrite);
  6. outputStream.flush();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement