Esempio n. 1
0
//JAVA TO VB & C# CONVERTER WARNING: 'final' parameters are not allowed in .NET:
//ORIGINAL LINE: public final BList<T> parseList(final ByteBuffer buffer, final BHeader header)
        public BList <T> parseList(ByteBuffer buffer, BHeader header)
        {
            BInteger length = header.integer.parse(buffer, header);
            List <T> values = new List <T>();

            length.iterate(() => values.Add(parse(buffer, header)));
            return(new BList <T>(length, values));
        }
Esempio n. 2
0
        public override LLocal parse(ByteBuffer buffer, BHeader header)
        {
            LString  name  = [email protected](buffer, header);
            BInteger Start = header.integer.parse(buffer, header);
            BInteger end   = header.integer.parse(buffer, header);

            if (header.debug)
            {
                Console.Write("-- parsing local, name: ");
                Console.Write(name);
                Console.Write(" from " + Start.asInt() + " to " + end.asInt());
                Console.WriteLine();
            }
            return(new LLocal(name, Start, end));
        }
Esempio n. 3
0
 public BSizeT(BInteger b) : base(b)
 {
 }
Esempio n. 4
0
 public BList(BInteger length, List <T> values)
 {
     this.length = length;
     this.values = values;
 }
Esempio n. 5
0
 public BInteger(BInteger b)
 {
     this.big = b.big;
     this.n   = b.n;
 }
Esempio n. 6
0
	  public BInteger(BInteger b)
	  {
		this.big = b.big;
		this.n = b.n;
	  }
Esempio n. 7
0
	  public BSizeT(BInteger b) : base(b)
	  {
	  }