There is a this.writeBuffer call that use the wrong argument "string.length", the correct one is "buffer.length".
Also I think exposing the getDescriptorById method is a good idea. That way, anyone use this library has the opportunity to access the file's metadata and content directly, or get/set the file's position.
There is a this.writeBuffer call that use the wrong argument "string.length", the correct one is "buffer.length". Also I think exposing the getDescriptorById method is a good idea. That way, anyone use this library has the opportunity to access the file's metadata and content directly, or get/set the file's position.