public class AddWritableBuffer extends Object
| Constructor and Description |
|---|
AddWritableBuffer() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
add(ByteBuf buf,
OutputStream stream)
Add the provided ByteBuf to the output stream if it is possible.
|
public static boolean add(ByteBuf buf, OutputStream stream) throws IOException
buf - The buffer to add.stream - The Candidate OutputStream to add to.IOException - on errorCopyright © 2019 The Apache Software Foundation. All rights reserved.