MCPcopy
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / read

Method read

web/js/workflowImage.js:205–209  ·  view source on GitHub ↗

* Reads N bytes and increments the offset * @param {1 | 2 | 4 | 8} size

(size, signed = false, littleEndian = undefined)

Source from the content-addressed store, hash-verified

203 * @param {1 | 2 | 4 | 8} size
204 */
205 read(size, signed = false, littleEndian = undefined) {
206 const v = this.peek(size, signed, littleEndian);
207 this.offset += size;
208 return v;
209 }
210
211 /**
212 * Reads N bytes

Callers 12

get_extension_configFunction · 0.80
get_allowed_dirsFunction · 0.80
load_textMethod · 0.80
get_metadataFunction · 0.80
load_metadataFunction · 0.80
readExifMethod · 0.80
#readUserCommentMethod · 0.80
#readTagsMethod · 0.80
#readEndiannessMethod · 0.80
readExifMethod · 0.80
#readAppMarkerIdMethod · 0.80
#consumeAppSegmentMethod · 0.80

Calls 1

peekMethod · 0.95

Tested by

no test coverage detected