Files
common/packages/util/src/u8a/fromHex.js
T

15 lines
396 B
JavaScript

// Copyright 2017-2018 Jaco Greeff
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// @flow
const u8aFromHex = require('../hex/toU8a');
/**
@name u8aFromHex
@signature u8aFromHex (value?: string): Uint8Array
@summary Creates a Uint8Array value from a hex string.
@alias hex/toU8a
*/
module.exports = u8aFromHex;