Writes a chunk of data to the stream.
public void write(byte[] data)
Book book = Book.findByPrimaryKey(bookID); com.sybase.persistence.BigBinary image = book.getCover(); image.openForWrite(0); byte[] binary = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; image.write(binary);