UNPKG
@eth-optimism/ethereumjs-vm
Version:
latest (4.2.0-alpha.3)
4.2.0-alpha.3
4.2.0-alpha.2
4.2.0-alpha.1
4.2.0-alpha.0
An Ethereum VM implementation
github.com/ethereumjs/ethereumjs-vm
ethereum-optimism/ethereumjs-ovm
@eth-optimism/ethereumjs-vm
/
dist
/
ovm
/
utils
/
buffer-utils.d.ts
6 lines
(5 loc)
•
278 B
TypeScript
View Raw
1
2
3
4
5
6
/// <reference types="node" />
export
declare
const
toHexAddress
:
(
buf
:
any
) =>
string
;
export
declare
const
toHexString
:
(
buf
:
any
) =>
string
;
export
declare
const
fromHexString
:
(
str
:
string
) =>
Buffer
;
export
declare
const
toAddressBuf
:
(
address
:
string
|
Buffer
) =>
Buffer
;