Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Passing Strings instead of Buffers #28

@daviddias

Description

@daviddias

Got this while testing WebSockets with go-ipfs

Debug: internal, implementation, error
    Error: Uncaught error: data must be a buffer, was: "\u0013/multistream/1.0.0\n"
    at Object.add (/Users/david/code/js-ipfs/node_modules/pull-reader/state.js:18:15)
    at /Users/david/code/js-ipfs/node_modules/pull-reader/index.js:61:15
    at /Users/david/code/js-ipfs/node_modules/pull-reader/index.js:20:7
    at WebSocket.<anonymous> (/Users/david/code/js-ipfs/node_modules/pull-ws/source.js:23:14)
    at WebSocket.onMessage (/Users/david/code/js-ipfs/node_modules/ws/lib/WebSocket.js:442:14)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions