MCPcopy
hub / github.com/webpack/webpack / toString

Method toString

lib/util/StringXor.js:88–91  ·  view source on GitHub ↗

* Returns a string that represents the current state of the StringXor object. We chose to use "latin1" encoding * here because "latin1" encoding is a single-byte encoding that can represent all characters in the * [ISO-8859-1 character set](https://en.wikipedia.org/wiki/ISO/IEC_8859-1). This is

()

Source from the content-addressed store, hash-verified

86 * @returns {string} Returns a string that represents the current state of the StringXor object.
87 */
88 toString() {
89 const value = this._value;
90 return value === undefined ? "" : value.toString("latin1");
91 }
92
93 /**
94 * Updates the hash with the current state of the StringXor object.

Callers 11

applyMethod · 0.45
fetchPathsFromURLFunction · 0.45
extractSourceMapFunction · 0.45
generateDebugId.jsFile · 0.45
readJsonFunction · 0.45
doReadLinkFunction · 0.45
digestMethod · 0.45
toStringFunction · 0.45
toBufferFunction · 0.45
updateMethod · 0.45
digestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected