Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Buffer.from usage with hexadecimal strings
`Buffer.from` does not support `0x` prefix in hexadecimal strings. In Node CLI: > Buffer.from("0x04", "hex") <Buffer > > Buffer.from("0x04", "hex").length 0 Use `"04"` without the prefix to really add byte `04` to the return value of `Point.encode`.
- Loading branch information