ドキュメント

Unity Engine

Unity Engine

LengthInUtf8Bytes()

Returns the number of bytes required to encode this rune as UTF-8.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int LengthInUtf8Bytes()

Returns

Type

Description

intThe number of bytes required to encode this rune as UTF-8. If the rune's codepoint is invalid, returns 4 (the maximum possible encoding length).