1 //
2 // Copyright (c) 2010-2018 Antmicro
3 //
4 //  This file is licensed under the MIT License.
5 //  Full license text is available in 'licenses/MIT.txt'.
6 //
7 using Antmicro.Renode.Utilities;
8 
9 namespace Antmicro.Renode.Core.USB
10 {
11     public interface IProvidesDescriptor
12     {
GetDescriptor(bool recursive, BitStream buffer = null)13         BitStream GetDescriptor(bool recursive, BitStream buffer = null);
14 
15         int RecursiveDescriptorLength { get; }
16 
17         int DescriptorLength { get; }
18     }
19 }