jerome jerome - 1 year ago 69
Javascript Question

Node 6 Buffer constructor deprecated, what to use instead?


constructors have been deprecated"

I am currently using these to create synthetic cursor values for GraphQL, for example:

new Buffer(<cursor>).toString('base64')

Now that the
constructor is deprecated, what would be the correct way to do something similar?

Thanks in advance anyone with ideas, I'll dig in on this as well later and post my answer here if I have one.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download