code: function validateHexadecimal (name, size, value) {
    if (!validate.validateHexadecimal(value, size)) {
      throw new TypeError(`${name} of wrong type is passed: ${value}`)
    }
  
    return value
  }
docs: Validator wrapper
  
  @param {string} name structure name
  @param {number} size value size in bytes
  @param {string} value value representation
  @returns {string} value if validation passes
  @throws {TypeError} in case of validation break
  @private