MCPcopy
hub / github.com/mongodb/node-mongodb-native / end

Method end

src/gridfs/download.ts:192–196  ·  view source on GitHub ↗

* Sets the 0-based offset in bytes to start streaming from. Throws * an error if this stream has entered flowing mode * (e.g. if you've already called `on('data')`) * * @param end - Offset in bytes to stop reading at

(end = 0)

Source from the content-addressed store, hash-verified

190 * @param end - Offset in bytes to stop reading at
191 */
192 end(end = 0): this {
193 throwIfInitialized(this);
194 this.s.options.end = end;
195 return this;
196 }
197
198 /**
199 * Marks this stream as aborted (will never push another `data` event)

Callers 15

jquery.jsFile · 0.45
getFunction · 0.45
jquery.jsFile · 0.45
jquery.min.jsFile · 0.45
jquery.min.jsFile · 0.45
jquery.jsFile · 0.45
jquery.min.jsFile · 0.45
jquery.min.jsFile · 0.45
jquery.jsFile · 0.45
jquery.min.jsFile · 0.45
jquery.min.jsFile · 0.45
jquery.jsFile · 0.45

Calls 1

throwIfInitializedFunction · 0.70

Tested by

no test coverage detected