ByteUtils

Library to simplify working with bytes

slice

function slice(bytes _data, uint256 _start, uint256 _end) public pure returns (bytes)

fromHexBytes

function fromHexBytes(bytes ss) public pure returns (bytes)

Convert an hexadecimal string in bytes (without "0x" prefix) to raw bytes

fromHexChar

function fromHexChar(bytes1 c) public pure returns (uint8)

Convert an hexadecimal character to their value