MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / packetize

Function packetize

modules/crypt/ssl/ssl_record.js:60–63  ·  view source on GitHub ↗
(session, type, fragment)

Source from the content-addressed store, hash-verified

58 return this.tlsCipherText.unpacketize(session, new SSLStream(buf)); // tail call optimization
59 },
60 packetize(session, type, fragment) {
61 session.traceProtocol(this);
62 return this.tlsPlainText.packetize(session, type, fragment);
63 },
64
65 tlsPlainText: {
66 name: "tlsPlainText",

Callers

nothing calls this directly

Calls 10

writeChunkMethod · 0.95
writeCharMethod · 0.95
getChunkMethod · 0.95
writeCharsMethod · 0.95
fromBigIntMethod · 0.80
getMethod · 0.65
concatMethod · 0.65
traceProtocolMethod · 0.45
encryptMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected