PbinaryType
Bun

property

SocketHandler.binaryType

binaryType?: unknown

Choose what ArrayBufferView is returned in the SocketHandler.data callback.