MCPcopy Index your code
hub / github.com/angular/angular / word32ToByteString

Function word32ToByteString

packages/service-worker/cli/sha1.ts:161–167  ·  view source on GitHub ↗
(word: number)

Source from the content-addressed store, hash-verified

159}
160
161function word32ToByteString(word: number): string {
162 let str = '';
163 for (let i = 0; i < 4; i++) {
164 str += String.fromCharCode((word >>> (8 * (3 - i))) & 0xff);
165 }
166 return str;
167}
168
169function byteStringToHexString(str: string): string {
170 let hex: string = '';

Callers 1

words32ToByteStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…