Protected constructorThe etag associated with the contents.
If an etag was provided when loading and the server indicates that the client's cached contents are still valid, the contents of this instance may be empty and only the etag will be returned.
Reads the contents as an ArrayBuffer.
A promise that resolves to the file contents as an ArrayBuffer.
Static arrayCreates an instance from one or more ArrayBuffer values.
Rest ...buffers: ArrayBuffer[]One or more buffers to combine into a Blob.
A FileContents instance containing the provided data.
Static blobCreates an instance from an existing Blob.
The blob containing the file contents.
A FileContents instance containing the provided data.
Static textCreates an instance from text.
Rest ...text: string[]One or more string parts to combine into a Blob.
A FileContents instance containing the provided data.
Represents a file's contents loaded from the server. If an etag was specified when loading, client should first test if the etag of this instance matches - if so, the contents will be empty, and the client's existing contents should be used.