File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,11 @@ internal static void CheckDataRepresentation(NdrDataRepresentation data_represen
249
249
}
250
250
}
251
251
252
+ public byte [ ] ReadRemaining ( )
253
+ {
254
+ return _reader . ReadAll ( ( int ) _reader . RemainingLength ( ) ) ;
255
+ }
256
+
252
257
#endregion
253
258
254
259
#region Primitive Types
@@ -335,7 +340,6 @@ public NdrEnum16 ReadEnum16()
335
340
#endregion
336
341
337
342
#region Fixed Array Types
338
-
339
343
public byte [ ] ReadFixedByteArray ( int count )
340
344
{
341
345
byte [ ] ret = _reader . ReadBytes ( count ) ;
Original file line number Diff line number Diff line change @@ -36,7 +36,12 @@ public sealed class RpcClientResponse
36
36
/// </summary>
37
37
public NdrDataRepresentation DataRepresentation { get ; }
38
38
39
- internal RpcClientResponse ( byte [ ] ndr_buffer , IEnumerable < NtObject > handles )
39
+ /// <summary>
40
+ /// Constructor.
41
+ /// </summary>
42
+ /// <param name="ndr_buffer">The NDR buffer.</param>
43
+ /// <param name="handles">List of handles</param>
44
+ public RpcClientResponse ( byte [ ] ndr_buffer , IEnumerable < NtObject > handles )
40
45
{
41
46
NdrBuffer = ndr_buffer ;
42
47
Handles = new List < NtObject > ( handles . Select ( o => o . DuplicateObject ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments