Load() 공개 메소드

public Load ( BinaryReader br ) : void
br System.IO.BinaryReader
리턴 void
예제 #1
0
        public void Load(BinaryReader br)
        {
            mHeader = new BlockHeader();
            mHeader.Load(br);

            int transactionCount = br.ReadInt32();
            for (int i = 0; i < transactionCount; i++)
            {
                Transaction t = new Transaction();
                t.Load(br);
                mTransactions.Add(t);
            }
        }
예제 #2
0
        public void Load(BinaryReader br)
        {
            mHeader = new BlockHeader();
            mHeader.Load(br);

            int transactionCount = br.ReadInt32();

            for (int i = 0; i < transactionCount; i++)
            {
                Transaction t = new Transaction();
                t.Load(br);
                mTransactions.Add(t);
            }
        }