public class ShortString extends Object implements EncodableData
| Constructor and Description |
|---|
ShortString(long length,
byte[] content) |
ShortString(long length,
char[] content) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize() |
static ShortString |
parse(io.netty.buffer.ByteBuf buf) |
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buf) |
public ShortString(long length,
char[] content)
public ShortString(long length,
byte[] content)
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)
Copyright © 2017 WSO2. All rights reserved.