db4o 7.4

com.db4o.marshall
Interface WriteBuffer

All Known Subinterfaces:
WriteContext

public interface WriteBuffer

a buffer interface with write methods.


Method Summary
 void writeByte(byte b)
          writes a single byte to the buffer.
 void writeBytes(byte[] bytes)
          writes an array of bytes to the buffer
 void 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

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.