public class FieldValue extends Object implements EncodableData
| Constructor and Description |
|---|
FieldValue(char type,
EncodableData value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getSize() |
int |
hashCode() |
static FieldValue |
parse(io.netty.buffer.ByteBuf buf) |
static FieldValue |
parseLongInt(int value) |
static FieldValue |
parseLongString(String value) |
void |
write(io.netty.buffer.ByteBuf buf) |
public FieldValue(char type,
EncodableData value)
public long getSize()
getSize in interface EncodableDatapublic void write(io.netty.buffer.ByteBuf buf)
write in interface EncodableDatapublic static FieldValue parse(io.netty.buffer.ByteBuf buf) throws Exception
Exceptionpublic static FieldValue parseLongInt(int value)
public static FieldValue parseLongString(String value)
Copyright © 2017 WSO2. All rights reserved.