Buffer クラスは Uint8Array を拡張しており、多くの追加メソッドを提供しています。Buffer.from() を使用して Uint8Array から Buffer インスタンスを作成します。
ts
const arr: Uint8Array = ...
const buf = Buffer.from(arr);See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.