We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82c540 commit 8d0169dCopy full SHA for 8d0169d
deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@tls/enum",
3
- "version": "0.2.5",
+ "version": "0.2.6",
4
"exports": "./src/mod.ts",
5
"publish": {
6
"exclude": ["dist/"]
src/handshaketype.js
@@ -116,7 +116,7 @@ export class Handshake extends Struct {
116
const msg_type = HandshakeType.fromValue(copy[0]);
117
const lengthOf = Uint24.from(copy.subarray(1)).value;
118
const message = copy.subarray(4, 4 + lengthOf)
119
- return new Handshake(msg_type, length, message)
+ return new Handshake(msg_type, lengthOf, message)
120
}
121
constructor(msg_type, length, message){
122
super(+msg_type, length, message)
0 commit comments