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

Function unpacketize

modules/crypt/ssl/ssl_record.js:56–59  ·  view source on GitHub ↗
(session, buf)

Source from the content-addressed store, hash-verified

54
55 // protocols
56 unpacketize(session, buf) {
57 session.traceProtocol(this);
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);

Callers

nothing calls this directly

Calls 9

readCharMethod · 0.80
readCharsMethod · 0.80
readChunkMethod · 0.80
sliceMethod · 0.65
concatMethod · 0.65
traceProtocolMethod · 0.45
putDataMethod · 0.45
decryptMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected