Type Method 型メソッド

string(fromByteCount:countStyle:)

Converts a byte count into the specified string format without creating an NSNumber object. あるバイト計数を指定された文字列書式へ変換します、NSNumberオブジェクトの作成なしにです。

Declaration 宣言

class func string(fromByteCount byteCount: Int64, 
       countStyle: ByteCountFormatter.CountStyle) -> String

Parameters パラメータ

byteCount

The byte count. バイト計数。

countStyle

The formatter style. See ByteCountFormatter.CountStyle for possible values. フォーマッタ形式。ByteCountFormatter.CountStyleを可能な値のために見てください。

Return Value 戻り値

A string containing the formatted byteCount value. 書式設定されたbyteCount値を含んでいる文字列。

See Also 参照

Creating Strings from Byte Count バイト計数から文字列を作成する

Related Documentation 関連文書