Returns a buffered output stream. @param os output stream @return stream
(final OutputStream os)
| 27 | * @return stream |
| 28 | */ |
| 29 | public static BufferOutput get(final OutputStream os) { |
| 30 | return os instanceof final BufferOutput bo ? bo : new BufferOutput(os); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Constructor. |
no outgoing calls