Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pub/Sub channel can not send binary data (ArrayBuffer) #10

Open
nqtham68 opened this issue Apr 11, 2019 · 0 comments
Open

Pub/Sub channel can not send binary data (ArrayBuffer) #10

nqtham68 opened this issue Apr 11, 2019 · 0 comments

Comments

@nqtham68
Copy link

Dual to clone command with JSON.parse(JSON.stringify(command)) so clone command had invalided data if original command have binary data.
Code reproduce:
this.scServer.exchange.publish("sample", new Uint8Array(8).fill(0xff).buffer, null)
Actually result: subscript channel can not get correct sent data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant