Public Methods
Hp49FileWrite (string name, LogLevel lvl = NONE)
|
Constructor must be supplied with a file name
Parameters:
name | File name
|
lvl | Log level
|
The only supported file type to write to is a Hp49 String file,
therefore, open() defaults to openString(). The way this is handled
might change in the future.
Reimplemented from Hp49File.
Very important that this is called or data bytes might be missing.
Reimplemented from Hp49File.
bool writeNibble (unsigned char&)
|
bool writeByte (unsigned char&)
|
Error writeNibbles (unsigned long n, const int c_sz)
|
Writes specified number of nibbles from long integer to a Hp49 file.
Therefore the first written nibble is the least significant and
the last is the most significant.
Parameters:
n | returned result of nibbles read
|
c_sz | number of nibbles to read
|
Error writeBytes (string)
|
Error writeData (string data)
|
Writes specified string of bytes of data to Hp49 file. This method
lacks the function to handle multiple writes! In an attempt to append
data will corrupt the Hp49 binary file. This will be fixed if I become
bored or find a real reason for it.
Parameters:
data | String to store data into.
|
Generated on Fri Mar 9 02:04:42 2001, using kdoc 2.0a43. |