OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright 2010 The Native Client Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can | |
4 * be found in the LICENSE file. | |
5 */ | |
6 | |
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_STRING_ENCODING_H_ | |
8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SRPC_STRING_ENCODING_H_ | |
9 | |
10 #include <stdlib.h> | |
11 | |
12 namespace plugin { | |
13 | |
14 bool ByteStringAsUTF8(const char* input, size_t input_byte_count, | |
15 char** result, size_t* result_byte_count); | |
16 bool ByteStringFromUTF8(const char* input, size_t input_byte_count, | |
17 char** result, size_t* result_byte_count); | |
18 | |
19 } | |
20 | |
21 #endif | |
OLD | NEW |