code: def Serialize(self, writer):
          
          self.SerializeUnsigned(writer)
          writer.WriteByte(1)
          self.Script.Serialize(writer)
docs: Serialize full object.
  
          Args:
              writer (neo.IO.BinaryWriter):