Skip to content

bufferToFormData

reference
1 min readUpdated

Kind: Function

Source: src/utils/buffer.ts

Part of: Utils

Signature

ts
function bufferToFormData(arrayBuffer: ArrayBuffer, contentType: string): Promise<FormData>

Parameters

NameType
arrayBufferArrayBuffer
contentTypestring

Returns: Promise<FormData>

Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (2)

  • BodyDatasrc/utils/body.ts:39
  • ValidationFunctionsrc/validator/validator.ts:14

Was this page helpful?

Download as PDF
bufferToFormData — Hono (narrator proof)