getString
@h4ad/serverless-adapter > getString
(function) getString
Get the data from a buffer, string, or Uint8Array
Signature:
export declare function getString(data: Buffer | string | unknown): string;
Parameters
Parameter | Type | Description |
---|---|---|
data | Buffer | string | unknown | The data that was written inside the stream |
Returns:
string