Skip to content

Commit

Permalink
Tool: ProtocolGenerator: use trimming/aot-safe methods only. (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmds authored Mar 14, 2024
1 parent e27e974 commit 471b523
Show file tree
Hide file tree
Showing 6 changed files with 1,477 additions and 725 deletions.
2 changes: 1 addition & 1 deletion docs/protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ When there is no such method, the item type can be read using a `while` loop as

```cs
List<byte[]> arrayOfByteArrays = new();
ArrayEnd arrayEnd = reader.ReadArrayStart();
ArrayEnd arrayEnd = reader.ReadArrayStart(DBusType.Array);
while (reader.HasNext(arrayEnd))
{
arrayOfByteArrays.Add(reader.ReadArrayOfByte());
Expand Down
Loading

0 comments on commit 471b523

Please sign in to comment.