System.IO.ProxyStream.Read C# (CSharp) Méthode

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int
		public override int Read(byte[] buffer, int offset, int count)
		{
			int Result = 0;
			ParentStream.SaveRestorePositionAndLock(() =>
			{
				ParentStream.Position = Position;
				Result = ParentStream.Read(buffer, offset, count);
			});
			return Result;
		}