MCPcopy Index your code
hub / github.com/lutzroeder/netron / string

Method string

source/python.js:22631–22636  ·  view source on GitHub ↗
(size, encoding)

Source from the content-addressed store, hash-verified

22629 }
22630
22631 string(size, encoding) {
22632 const data = this.read(size);
22633 return (encoding === 'utf-8') ?
22634 this._utf8Decoder.decode(data) :
22635 this._asciiDecoder.decode(data);
22636 }
22637
22638 line() {
22639 const index = this._buffer.indexOf(0x0A, this._position);

Callers 3

loadMethod · 0.45
valueMethod · 0.45
lineMethod · 0.45

Calls 2

readMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected