byte-storage icon indicating copy to clipboard operation
byte-storage copied to clipboard

Append method?

Open jakearchibald opened this issue 8 years ago • 1 comments

const writable = await byteStorage.append(name:String);

Same as .write, where start is equal to the store's size.

jakearchibald avatar Jul 17 '17 11:07 jakearchibald

yes please! it may also be useful to be able to put a byte-store into append-only mode, which would disallow random writes, to rewrite you'd have to resize the file (aka, truncate) and then write again.

dominictarr avatar Jul 18 '17 22:07 dominictarr