Package com.db4o.marshall
Interface WriteBuffer
-
- All Known Subinterfaces:
ReadWriteBuffer
,WriteContext
- All Known Implementing Classes:
ByteArrayBuffer
,DefragmentContextImpl
,MarshallingBuffer
,MarshallingContext
,StatefulBuffer
public interface WriteBuffer
a buffer interface with write methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeByte(byte b)
writes a single byte to the buffer.void
writeBytes(byte[] bytes)
writes an array of bytes to the buffervoid
writeInt(int i)
writes an int to the buffer.void
writeLong(long l)
writes a long to the buffer
-
-
-
Method Detail
-
writeByte
void writeByte(byte b)
writes a single byte to the buffer.- Parameters:
b
- the byte
-
writeBytes
void writeBytes(byte[] bytes)
writes an array of bytes to the buffer- Parameters:
bytes
- the byte array
-
writeInt
void writeInt(int i)
writes an int to the buffer.- Parameters:
i
- the int
-
writeLong
void writeLong(long l)
writes a long to the buffer- Parameters:
l
- the long
-
-