public class CategoryListPayloadStream extends 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 IOException
IOException
public byte[] convertStreamToByteArray()
public void reset() throws IOException
IOException