Skip to content

Commit

Permalink
docs: amend docstring for splitMultipart
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Aug 20, 2024
1 parent c5404c3 commit ece3465
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/split-multipart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ function fail(): never {
}

/**
* Split a buffer's contents by some delimiter.
* Split a buffer containing multipart/* contents by the specified boundary according to
* [RFC 2026 Multipart Media Type]{@link https://datatracker.ietf.org/doc/html/rfc2046#section-5.1}.
*
* Returns an array of new {@link Buffer} objects that reference the same memory as the original,
* but offset and cropped appropriately.
Expand Down

0 comments on commit ece3465

Please sign in to comment.