Microsoft.R.Host.Client.RBlobStream.Read C# (CSharp) Method

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int
        public override int Read(byte[] buffer, int offset, int count) {
            byte[] bytes = _blobService.BlobReadAsync(_blob.Id, Position, count).GetAwaiter().GetResult();
            Array.Copy(bytes, 0, buffer, offset, bytes.Length);
            _position += bytes.Length;
            return bytes.Length;
        }