Converts binary data into an ASCII text string, returning a string of size 2*from.size().

Synopsis

Declared in <absl/strings/escaping.h>

std::string
BytesToHexString(std::string_view from);

Return Value

The hexadecimal‐encoded string.

Parameters

Name

Description

from

The binary data to encode.

Created with MrDocs