MCPcopy Create free account
hub / github.com/cryptii/cryptii / needsByteEncoding

Method needsByteEncoding

src/Chain.js:349–351  ·  view source on GitHub ↗

* Returns true, if byte encoding is needed before returning the byte * representation. Translation between text and bytes may throw an error * if encountering malformed content. * @return {boolean}

()

Source from the content-addressed store, hash-verified

347 * @return {boolean}
348 */
349 needsByteEncoding () {
350 return this._bytes === null
351 }
352
353 /**
354 * Returns true if chain contains an empty string, zero Unicode

Callers 3

Chain.jsFile · 0.80
assertEqualMethod · 0.80
translateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected