기술 자료

Unity Engine

Unity Engine

LengthInUtf8Bytes()

Returns the number of bytes required to encode this rune as UTF-8.
읽는 시간 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).