public class POPMutableByte extends java.lang.Object implements IPOPBase
POPParameter direction use in
methods| Constructor and Description |
|---|
POPMutableByte()
Default constructor
|
POPMutableByte(byte value)
Constructor with given value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deserialize(POPBuffer buffer)
Deserialize the POPByte from the buffer
|
byte |
getValue()
Get the current value of this object
|
boolean |
serialize(POPBuffer buffer)
Serialize the POPByte into the buffer
|
void |
setValue(byte value)
Set the byte value of this object
|
void |
setValue(int value)
Set the byte value of this object, from an int
|
java.lang.String |
toString() |
public POPMutableByte()
public POPMutableByte(byte value)
value - byte value to be stored in this objectpublic void setValue(byte value)
value - new byte valuepublic void setValue(int value)
value - new byte value from intpublic byte getValue()
public boolean serialize(POPBuffer buffer)
public boolean deserialize(POPBuffer buffer)
deserialize in interface IPOPBasebuffer - The buffer to deserialize frompublic java.lang.String toString()
toString in class java.lang.Object