Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utf32.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function utf32fromStringLoose(string: string, format?: Utf32Format): Uint
*
* Throws on invalid UTF-32 byte sequences
*
* Throws on non-even byte length.
* Throws on byte length not a multiple of 4.
*
* @param arr - The bytes to decode
* @param format - Input format (default: 'uint32')
Expand All @@ -77,7 +77,7 @@ export function utf32toString(arr: Uint32Array | Uint8Array, format?: Utf32Forma
* _Such replacement is a non-injective function, is irreversible and causes collisions.\
* Prefer using strict throwing methods for cryptography applications._
*
* Throws on non-even byte length.
* Throws on byte length not a multiple of 4.
*
* @param arr - The bytes to decode
* @param format - Input format (default: 'uint32')
Expand Down