code: def FromEncoded(self, encoded):
          
  
          stream_type = (encoded >> 12) & 0b1111
          stream_system = bool(encoded & (1 << 11))
          stream_id = (encoded & ((1 << 11) - 1))
  
          return DataStream(stream_type, stream_id, stream_system)
docs: Create a DataStream from an encoded 16-bit unsigned integer.
  
          Returns:
              DataStream: The decoded DataStream object