Home
last modified time | relevance | path

Searched refs:GetBytesAsString (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/strings/
Dstring_utils_unittest.cc139 TEST(StringUtils, GetBytesAsString) { in TEST() argument
140 EXPECT_EQ("abc", string_utils::GetBytesAsString({'a', 'b', 'c'})); in TEST()
141 EXPECT_TRUE(string_utils::GetBytesAsString({}).empty()); in TEST()
142 auto str = string_utils::GetBytesAsString({0xFF, 0x00, 0x01, 0x7F, 0x80}); in TEST()
Dstring_utils.cc80 std::string GetBytesAsString(const std::vector<uint8_t>& buffer) { in GetBytesAsString() function
Dstring_utils.h123 BRILLO_EXPORT std::string GetBytesAsString(const std::vector<uint8_t>& buf);