Searched refs:origBuff (Results 1 – 1 of 1) sorted by relevance
/plugin/diagramsnet/lib/ |
H A D | electron.js | 955 function writePngWithText(origBuff, key, text, compressed, base64encoded) argument 970 …var outBuff = Buffer.allocUnsafe(origBuff.length + dataLen + 4); //4 is the header size "zTXt", "t… 974 var magic1 = origBuff.readUInt32BE(inOffset); 976 var magic2 = origBuff.readUInt32BE(inOffset); 997 while (inOffset < origBuff.length) 999 var length = origBuff.readInt32BE(inOffset); 1001 var type = origBuff.readInt32BE(inOffset) 1064 origBuff.copy(outBuff, outOffset, inOffset); 1075 origBuff.copy(outBuff, outOffset, inOffset, inOffset + length + 4);// +4 to move past the crc
|