UNPKG
@stryke/convert
Version:
latest (0.7.10)
0.7.10
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.58
0.6.57
0.6.56
0.6.55
0.6.54
0.6.53
0.6.52
0.6.51
0.6.50
0.6.49
0.6.46
0.6.45
0.6.44
0.6.43
0.6.42
0.6.41
0.6.40
0.6.38
0.6.37
0.6.36
0.6.35
0.6.34
0.6.33
0.6.32
0.6.31
0.6.30
0.6.29
0.6.28
0.6.27
0.6.26
0.6.25
0.6.24
0.6.23
0.6.22
0.6.21
0.6.20
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
A utility package that helps convert between different data types.
stormsoftware.com
@stryke/convert
/
dist
/
buffer-to-string.d.ts
9 lines
(8 loc)
•
223 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
Buffer
}
from
"node:buffer"
;
/** * Converts a buffer to a string. * *
@param
buf
- The buffer to convert. *
@returns
The converted string. */
export
declare
const
bufferToString
:
(
buf
:
Buffer
) =>
string
;