T - type to be encoded/decodedpublic interface StringEncoding<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
StringEncoding.EncodedLong
Uses a IBytesEncoding to encode and decode from the little endian representation of a long.
|
static class |
StringEncoding.SimpleInteger
Simple encoding for an Integer, using toString and valueOf.
|
static class |
StringEncoding.SimpleLong
Simple encoding for a Long, using toString and valueOf.
|
| Modifier and Type | Method and Description |
|---|---|
T |
decode(String string)
Decode from a string.
|
String |
encode(T value)
Encode into a string.
|
Copyright © 2019. All rights reserved.