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