1 //
2 // Copyright (c) 2010-2018 Antmicro
3 // Copyright (c) 2011-2015 Realtime Embedded
4 //
5 // This file is licensed under the MIT License.
6 // Full license text is available in 'licenses/MIT.txt'.
7 //
8 using System;
9 using System.IO;
10 
11 namespace Antmicro.Renode.Utilities
12 {
13     public interface IBlobProvider
14     {
GetBlobDescriptor()15         BlobDescriptor GetBlobDescriptor();
BlobIsReady(string fileName, long offset, long length)16         void BlobIsReady(string fileName, long offset, long length);
17     }
18 
19     public struct BlobDescriptor
20     {
21         public Stream Stream { get; set; }
22         public long Size { get; set; }
23     }
24 }
25 
26