'Differs from the base class :class:`_writedata` in that it doesn\'t
automatically add padding, and treats the data as a string of raw bytes
instead of an array.'

def _writedata(self, fileobj):

    offset = 0
    size = 0
    if (not fileobj.simulateonly):
        fileobj.flush()
        try:
            offset = fileobj.tell()
        except IOError:
            offset = 0
    if (self.data is not None):
        if (not fileobj.simulateonly):
            fileobj.write(self.data)
            fileobj.flush()
            size = len(self.data)
    return (offset, size)
