System.Windows.Forms.FileByteProvider.ReadByte C# (CSharp) 메소드

ReadByte() 공개 메소드

Reads a byte from the file.
public ReadByte ( long index ) : byte
index long the index of the byte to read
리턴 byte
		public byte ReadByte(long index)
		{
			if(_writes.Contains(index))
				return _writes[index];

			if(_fileStream.Position != index)
				_fileStream.Position = index;

			byte res = (byte)_fileStream.ReadByte();
			return res;
		}