We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c12995d + d357f33 commit 36051aaCopy full SHA for 36051aa
1 file changed
README.md
@@ -31,12 +31,11 @@ await connection.OpenAsync();
31
### Read a DataBlockDataItem
32
Read 10 bytes from DataBlock 87 starting at address 54
33
```
34
- var dataItem = new DataBlockDataItem<byte[]>
35
- {
36
- DbNumber = 87,
37
- Length = 10,
38
- StartByte = 54
39
- };
+ var dataItem = new DataBlockDataItem<byte[]>(
+ dbNumber: 87,
+ startByte: 54,
+ length: 10
+ );
40
await connection.ReadAsync(dataItem);
41
Console.WriteLine($"Read data: {BitConverter.ToString(dataItem.Value)}");
42
0 commit comments