Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final RawOutputStream rawOut = new RawOutputStream(rawThing);
- try {
- final DecoratedOutputStream out = new DecoratedOutputStream(rawOut);
- // ... stuff with out within ...
- out.flush();
- } finally {
- rawOut.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement