NodeBlob
constructor()
Creates a new empty buffer.
Creates a new buffer filled by concatenating the provider sources. The sources object must have array elements of a supported type, namely PolyglotValue.hasBufferElements, or objects with a buffer
member with the same effect.
Creates a new buffer filled by concatenating the provider sources. The sources object must have array elements of a supported type, namely PolyglotValue.hasBufferElements, or objects with a buffer
member with the same effect.
The options
object can be used to specify the content type of the blob by setting the type
property to a string value. If the endings
property is set to "native"
, all line endings in the sources will be converted to the format of the current platform.