|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringEncoding
encodes a String to a byte array and decodes a String from a part of a byte array
Method Summary | |
---|---|
java.lang.String |
decode(byte[] bytes,
int start,
int length)
called when a byte array is to be decoded to a string. |
byte[] |
encode(java.lang.String str)
called when a string is to be encoded to a byte array. |
Method Detail |
---|
byte[] encode(java.lang.String str)
str
- the string to encode
java.lang.String decode(byte[] bytes, int start, int length)
bytes
- the byte arraystart
- the start offset in the byte arraylength
- the length of the encoded string in the byte array
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |