Пример #1
0
        public virtual void ReadFile()
        {
            ToBegin();
            BitArray nameLength = ReadBytesInContainer(4);
            BitArray fileName   = ReadBytesInContainer(BitByte.IntFromBits(nameLength));
            BitArray dataLength = ReadBytesInContainer(4);
            BitArray data       = ReadBytesInContainer(BitByte.IntFromBits(dataLength));

            HideFile.WriteBitArray(data, BitByte.BytesToString(BitByte.BitsToBytes(fileName)));
        }