You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var buffer = binarize.pack(function(object) {
...
});
However, the pack function expects an object as the first argument and the callback function as the second argument. Also it won’t return a buffer, but invoke the callback function with a DataView.
Hey folks,
the current README gives the following example:
However, the pack function expects an object as the first argument and the callback function as the second argument. Also it won’t return a buffer, but invoke the callback function with a DataView.
For me, the following works:
What is the README describing? Is it just outdated?
Regards,
—dpree
The text was updated successfully, but these errors were encountered: