Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigabyte5671 committed Jan 16, 2023
1 parent e6c771f commit c6c7d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ Or you can also use the `GenericMessage` class to send raw data:
```typescript
// This class accepts an array of number arrays, Uint8Arrays, byte-like strings, or any combination of the three.
const message = new Messages.GenericMessage([
[1, 23, 8, 74], // number[]
[1, 23, 8, 74], // number[]
new Uint8Array([1, 23, 8, 74]), // Uint8Array
'0117084a' // Byte-like string
'0117084a' // Byte-like string
]);
```

Expand Down

0 comments on commit c6c7d81

Please sign in to comment.