Skip to content

Commit 9dbbeda

Browse files
committed
Fix code formatting
1 parent 53fe541 commit 9dbbeda

5 files changed

Lines changed: 63 additions & 63 deletions

File tree

benchmark/bench.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec
3434
new Destruct.Spec({ mode: Destruct.Mode.LE })
3535
.field("x", Destruct.UInt16)
3636
.field("y", Destruct.UInt16)
37-
.field("z", Destruct.UInt16)
37+
.field("z", Destruct.UInt16),
3838
);
3939

4040
// structron
@@ -47,7 +47,7 @@ const PointsStruct = new Struct()
4747
.addMember(Struct.TYPES.USHORT_LE, "z"),
4848
"points",
4949
0,
50-
"len"
50+
"len",
5151
);
5252

5353
// Prepare input

example/tcp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const tcpHeader = new Parser()
2323

2424
const buf = Buffer.from(
2525
"e8a203e108e177e13d20756b801829d3004100000101080a2ea486ba793310bc",
26-
"hex"
26+
"hex",
2727
);
2828

2929
console.log(tcpHeader.parse(buf));

0 commit comments

Comments
 (0)