Package com.db4o.internal.encoding
Class LatinStringIO
- java.lang.Object
-
- com.db4o.internal.encoding.LatinStringIO
-
- Direct Known Subclasses:
DelegatingStringIO
,UnicodeStringIO
public class LatinStringIO extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LatinStringIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
bytes(ByteArrayBuffer buffer)
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)
java.lang.String
readLengthAndString(ReadBuffer buffer)
int
shortLength(java.lang.String str)
void
write(WriteBuffer buffer, java.lang.String str)
byte[]
write(java.lang.String str)
void
writeLengthAndString(WriteBuffer buffer, java.lang.String str)
-
-
-
Method Detail
-
bytes
public byte[] bytes(ByteArrayBuffer buffer)
-
bytesPerChar
protected int bytesPerChar()
-
encodingByte
public byte encodingByte()
-
length
public int length(java.lang.String str)
-
read
public java.lang.String read(ReadBuffer buffer, int length)
-
read
public java.lang.String read(byte[] bytes)
-
readLengthAndString
public java.lang.String readLengthAndString(ReadBuffer buffer)
-
shortLength
public int shortLength(java.lang.String str)
-
write
public void write(WriteBuffer buffer, java.lang.String str)
-
write
public byte[] write(java.lang.String str)
-
writeLengthAndString
public void writeLengthAndString(WriteBuffer buffer, java.lang.String str)
-
-