Пример #1
0
        //バイナリ化して読み込み
        static public void Read(BinaryReader reader, List <T> ioList)
        {
            BinaryBufferGeneric <T> data = new BinaryBufferGeneric <T>();

            data.Read(reader);
            data.Overrirde(ioList);
        }
Пример #2
0
        //バイナリ化して書き込み
        static public void Write(BinaryWriter writer, List <T> ioList)
        {
            BinaryBufferGeneric <T> data = new BinaryBufferGeneric <T>();

            data.MakeBuffer(ioList);
            data.Write(writer);
        }