Fanx.Fcode.FTypeRef.read C# (CSharp) Méthode

read() public static méthode

public static read ( FStore input ) : FTypeRef
input FStore
Résultat FTypeRef
        public static FTypeRef read(FStore.Input input)
        {
            FPod fpod = input.fpod;
              string podName = fpod.name(input.u2());
              string typeName = fpod.name(input.u2());
              string sig = input.utf(); // full sig if parameterized, "?" if nullable, or ""
              return new FTypeRef(podName, typeName, sig);
        }

Usage Example

Exemple #1
0
 public override FTable read(FStore.Input input)
 {
     if (input == null)
     {
         m_size = 0; return(this);
     }
     m_size  = input.u2();
     m_table = new object[m_size];
     for (int i = 0; i < m_size; i++)
     {
         m_table[i] = FTypeRef.read(input);
     }
     return(this);
 }