in src/messages.js [218:229]
_write(buf) {
buf.writeUint16(VERSION_TLS_1_2);
buf.writeBytes(this.random);
buf.writeVectorBytes8(this.sessionId);
// Our single supported ciphersuite
buf.writeVector16(buf => {
buf.writeUint16(TLS_AES_128_GCM_SHA256);
});
// A single zero byte for legacy_compression_methods
buf.writeVectorBytes8(new Uint8Array(1));
this._writeExtensions(buf, this.extensions);
}