OutputStream.h

This HTML document was auto-generated from OutputStream.h

Interface: OutputStream

/*****************************************************************
Interface: OutputStream
Desc:
An interface for writing bytes to a byte sink.
Notes:
*****************************************************************/

Method: OutputStream::close

//=========================================================================
// Method:	close
// Desc:	Flush any unwritten bytes and close the stream	
// 
// Notes:	
//=========================================================================

C++ Signature

void
OutputStream::close(
);


Method: OutputStream::flush

//=========================================================================
// Method:	flush
// Desc:	Flush any unwritten bytes to the stream
// 
// Notes:	
//=========================================================================

C++ Signature

void
OutputStream::flush(
);


Method: OutputStream::write

//=========================================================================
// Method:	write
// Desc:	Write bytes to the stream
// 
// Notes:	
//=========================================================================

C++ Signature

int
OutputStream::write(
	const unsigned char * bytes,                    //array of bytes
	int length                                      //length of byte array
);


Method: OutputStream::write

//=========================================================================
// Method:	write
// Desc:	Write a single byte to the stream
// 
// Notes:	
//		For C, this method is called writeByte
//=========================================================================

C++ Signature

int
OutputStream::write(
	unsigned char byte                              //the byte to write
);