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

Commit 47f8bfa

Browse files
alcuadrados1na
authored andcommitted
Improve bufferToHex doc (#206)
1 parent 599ba5b commit 47f8bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bytes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const bufferToInt = function(buf: Buffer): number {
105105
}
106106

107107
/**
108-
* Converts a `Buffer` into a hex `String`.
108+
* Converts a `Buffer` into a `0x`-prefixed hex `String`.
109109
* @param buf `Buffer` object to convert
110110
*/
111111
export const bufferToHex = function(buf: Buffer): string {

0 commit comments

Comments
 (0)