code: def FromTrimmedData(data, index):
          
          header = Header()
  
          ms = StreamManager.GetStream(data)
  
          reader = BinaryReader(ms)
          header.DeserializeUnsigned(reader)
          reader.ReadByte()
  
          witness = Witness()
          witness.Deserialize(reader)
          header.Script = witness
  
          StreamManager.ReleaseStream(ms)
  
          return header
docs: Deserialize into a Header object from the provided data.
  
          Args:
              data (bytes):
              index: UNUSED
  
          Returns:
              Header: