コード例 #1
0
        public static InvVect FromStream(Stream s)
        {
            InvVect x = new InvVect();

            x.Read(s);
            return(x);
        }
コード例 #2
0
ファイル: GetData.cs プロジェクト: thetooi/Bitcoin-Tool
 public void Read(Stream s)
 {
     inventory = new InvVect[VarInt.FromStream(s)];
     for (int i = 0; i < inventory.Length; i++)
     {
         inventory[i] = InvVect.FromStream(s);
     }
 }
コード例 #3
0
 public static InvVect FromStream(Stream s)
 {
     InvVect x = new InvVect();
     x.Read(s);
     return x;
 }
コード例 #4
0
ファイル: GetData.cs プロジェクト: ystallonne/Bitcoin-Tool
 public GetData(InvVect[] inventory)
 {
     this.inventory = inventory;
 }