Files
haiku-beta6/headers/private/kernel/util/convertutf.h
T
2025-03-12 08:26:19 -04:00

26 lines
581 B
C

/*
* 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