docs: def write_octet(self, n):
          """
          Write an integer as an unsigned 8-bit value.
  
          """
          if (n < 0) or (n > 255):
              raise ValueError('Octet out of range 0..255')
          self._flushbits()
          self.out.write(pack('B', n))