184
edits
| Line 280: | Line 280: | ||
/** | /** | ||
* As [write] but do not advance | * As [write], but write to a specific position and do not advance | ||
*/ | */ | ||
pwrite: function(buf, offset, size) { | pwrite: function(fileOffset, buf, offset, size) { | ||
//Unix: [pwrite] | //Unix: [pwrite] | ||
//Windows: [WriteFile] + [SetFilePointer] | //Windows: [WriteFile] + [SetFilePointer] | ||
edits