string_utils.h (510B)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 // 5 // String manipulation functions used in the RLZ library. 6 7 #ifndef RLZ_LIB_STRING_UTILS_H_ 8 #define RLZ_LIB_STRING_UTILS_H_ 9 10 #include <string> 11 12 namespace rlz_lib { 13 14 bool BytesToString(const unsigned char* data, 15 int data_len, 16 std::string* string); 17 18 }; // namespace 19 20 #endif // RLZ_LIB_STRING_UTILS_H_