kernel: Move convertutf to utils.
No functional change.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright 2014 Jonathan Schleifer <[email protected]>
|
||||
* Copyright 2014 Haiku, Inc. All rights reserved.
|
||||
*
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Jonathan Schleifer, [email protected]
|
||||
* John Scipione, [email protected]
|
||||
*/
|
||||
#ifndef CONVERT_UTF_H
|
||||
#define CONVERT_UTF_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
|
||||
ssize_t utf16le_to_utf8(const uint16* source, size_t sourceCodeUnitCount,
|
||||
char* target, size_t targetLength);
|
||||
|
||||
ssize_t utf16be_to_utf8(const uint16* source, size_t sourceCodeUnitCount,
|
||||
char* target, size_t targetLength);
|
||||
|
||||
|
||||
#endif // CONVERT_UTF_H
|
||||
Reference in New Issue
Block a user