public class CategoryListPayloadStream extends Object
Constructor | Description |
---|---|
CategoryListPayloadStream(IntEncoder encoder) |
Creates a Payload stream using the specified encoder.
|
Modifier and Type | Method | 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
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.