Package com.db4o.internal.encoding
Class UnicodeStringIO
- java.lang.Object
-
- com.db4o.internal.encoding.LatinStringIO
-
- com.db4o.internal.encoding.UnicodeStringIO
-
public final class UnicodeStringIO extends LatinStringIO
-
-
Constructor Summary
Constructors Constructor Description UnicodeStringIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
bytesPerChar()
byte
encodingByte()
int
length(java.lang.String str)
java.lang.String
read(byte[] bytes)
java.lang.String
read(ReadBuffer buffer, int length)
int
shortLength(java.lang.String str)
void
write(WriteBuffer buffer, java.lang.String str)
byte[]
write(java.lang.String str)
-
Methods inherited from class com.db4o.internal.encoding.LatinStringIO
bytes, readLengthAndString, writeLengthAndString
-
-
-
-
Method Detail
-
bytesPerChar
protected int bytesPerChar()
- Overrides:
bytesPerChar
in classLatinStringIO
-
encodingByte
public byte encodingByte()
- Overrides:
encodingByte
in classLatinStringIO
-
length
public int length(java.lang.String str)
- Overrides:
length
in classLatinStringIO
-
read
public java.lang.String read(ReadBuffer buffer, int length)
- Overrides:
read
in classLatinStringIO
-
read
public java.lang.String read(byte[] bytes)
- Overrides:
read
in classLatinStringIO
-
shortLength
public int shortLength(java.lang.String str)
- Overrides:
shortLength
in classLatinStringIO
-
write
public void write(WriteBuffer buffer, java.lang.String str)
- Overrides:
write
in classLatinStringIO
-
write
public byte[] write(java.lang.String str)
- Overrides:
write
in classLatinStringIO
-
-