No comment. Sorry.
nextImage
Read in the next xbm image from the stream.
understandsImageFormat
Test to see if the image stream format is understood by this decoder. This should be implemented in each subclass of ImageReadWriter so that a proper decoder can be selected without ImageReadWriter having to know about all possible image file types.
parseByteValue
skip over separators and return next bytevalue parsed as a C language number: 0ddd is an octal digit. 0xddd is a hex digit. ddd is decimal.
readHeader
Set width and height, and position stream at start of bytes
initialize
XBMReadWriter initialize