Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Improve bufferToHex doc (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado authored and s1na committed Jun 25, 2019
1 parent 599ba5b commit 47f8bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bytes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const bufferToInt = function(buf: Buffer): number {
}

/**
* Converts a `Buffer` into a hex `String`.
* Converts a `Buffer` into a `0x`-prefixed hex `String`.
* @param buf `Buffer` object to convert
*/
export const bufferToHex = function(buf: Buffer): string {
Expand Down

0 comments on commit 47f8bfa

Please sign in to comment.