''

def writeBlob(self, val):

    assert isinstance(val, bytes), ('value    type    not    match!    current    val    type    =    %s' % type(val))
    self.stream.write(struct.pack(('=I%ss' % len(val)), len(val), val))
