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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy