docs: def write_uchar(self, c):
          """
          Writes an C{unsigned char} to the stream.
  
          @param c: Unsigned char
          @type c: C{int}
          @raise TypeError: Unexpected type for int C{c}.
          @raise OverflowError: Not in range.
          """
          if type(c) not in python.int_types:
              raise TypeError('expected an int (got:%r)' % type(c))
  
          if not 0 <= c <= 255:
              raise OverflowError("Not in range, %d" % c)
  
          self.write(struct.pack("B", c))