public class LongString extends Object implements EncodableData
| Constructor and Description |
|---|
LongString(long length,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares
LongString underlying byte array content. |
long |
getSize() |
int |
hashCode()
Hashcode of the underlying byte array content.
|
static LongString |
parse(io.netty.buffer.ByteBuf buf) |
static LongString |
parseString(String data) |
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buf) |
public static LongString parseString(String data)
public long getSize()
getSize in interface EncodableDatapublic void write(io.netty.buffer.ByteBuf buf)
write in interface EncodableDatapublic static LongString parse(io.netty.buffer.ByteBuf buf) throws Exception
Exceptionpublic boolean equals(Object obj)
LongString underlying byte array content.public int hashCode()
Copyright © 2017 WSO2. All rights reserved.