Skip to main content

update

method Sign.prototype.update
Jump to headingSign.prototype.update(data: BinaryLike): this

Updates the Sign content with the given data, the encoding of which is given in inputEncoding. If encoding is not provided, and the data is a string, an encoding of 'utf8' is enforced. If data is a Buffer, TypedArray, orDataView, then inputEncoding is ignored.

This can be called many times with new data as it is streamed.

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingSign.prototype.update(
data: string,
inputEncoding: Encoding,
): this

Parameters Jump to heading

Jump to headingdata: string

Return Type Jump to heading

this
Back to top