called by the class that is responsible for writing this sucker.
Subclasses should implement this so that their data is passed back in a
byte array.
Parameters: offset - offset to begin writing at Parameters: data - byte array containing instance data number of bytes written