Package com.db4o.marshall
Interface WriteBuffer
-
- All Known Subinterfaces:
ReadWriteBuffer,WriteContext
- All Known Implementing Classes:
ByteArrayBuffer,DefragmentContextImpl,MarshallingBuffer,MarshallingContext,StatefulBuffer
public interface WriteBuffera buffer interface with write methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteByte(byte b)writes a single byte to the buffer.voidwriteBytes(byte[] bytes)writes an array of bytes to the buffervoidwriteInt(int i)writes an int to the buffer.voidwriteLong(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
-
-