UNPKG
@bitgo-forks/avalanchejs
Version:
latest (4.1.0-alpha.1)
master (4.1.0-alpha.3)
4.1.0-alpha.3
4.1.0-alpha.2
4.1.0-alpha.1
Avalanche Platform JS Library
github.com/BitGo/avalanchejs
BitGo/avalanchejs
@bitgo-forks/avalanchejs
/
src
/
utils
/
addressesFromBytes.ts
6 lines
(4 loc)
•
169 B
text/typescript
View Raw
1
2
3
4
5
6
import
{
Address
}
from
'../serializable/fxs/common'
;
export
function
addressesFromBytes
(
bytes:
Uint8Array
[]
):
Address
[] {
return
bytes.
map
(
(
b
) =>
new
Address
(b)); }