macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

CFStringCreateWithBytes

指定のバイト列とエンコーディングで文字を作って返します
CFStringRef  CFStringCreateWithBytes ( 
              CFAllocatorRef   alloc , 
              const UInt8 *   bytes , 
              CFIndex   numBytes , 
              CFStringEncoding   encoding , 
              Boolean   isExternalRepresentation );

解説

指定のバイト列とエンコーディングで文字を作って返します。

返り値

引数

( CFAllocatorRef )alloc
( const UInt8 * )bytes
( CFIndex )numBytes
( CFStringEncoding )encoding
( Boolean )isExternalRepresentation

クラス

CFString

Function

使用可能

10.0

参照

例文