public class CategoryListPayloadStream
extends java.lang.Object
| Constructor and Description |
|---|
CategoryListPayloadStream(IntEncoder encoder)
Creates a Payload stream using the specified encoder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendIntToStream(int intValue)
Appends an integer to the stream.
|
byte[] |
convertStreamToByteArray()
Returns the streamed bytes so far accumulated, as an array of bytes.
|
void |
reset()
Resets this stream to begin building a new payload.
|
public CategoryListPayloadStream(IntEncoder encoder)
public void appendIntToStream(int intValue)
throws java.io.IOException
java.io.IOExceptionpublic byte[] convertStreamToByteArray()
public void reset()
throws java.io.IOException
java.io.IOExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.