C# 클래스 Gumbo.NativeUtf8Helper

파일 보기 프로젝트 열기: rgripper/GumboBindings 1 사용 예제들

공개 메소드들

메소드 설명
NativeUtf8FromString ( string value ) : IntPtr

Allocates pointer and puts null terminated UTF-8 string bytes.

StringFromNativeUtf8 ( IntPtr nativeUtf8 ) : string

Reads all bytes as a null terminated UTF-8 string.

StringFromNativeUtf8 ( IntPtr nativeUtf8, int length ) : string

Reads all bytes as a null terminated UTF-8 string.

비공개 메소드들

메소드 설명
lstrlenA ( IntPtr nullTerminatedString ) : int

메소드 상세

NativeUtf8FromString() 공개 정적인 메소드

Allocates pointer and puts null terminated UTF-8 string bytes.
public static NativeUtf8FromString ( string value ) : IntPtr
value string Original managed string
리턴 System.IntPtr

StringFromNativeUtf8() 공개 정적인 메소드

Reads all bytes as a null terminated UTF-8 string.
public static StringFromNativeUtf8 ( IntPtr nativeUtf8 ) : string
nativeUtf8 System.IntPtr
리턴 string

StringFromNativeUtf8() 공개 정적인 메소드

Reads all bytes as a null terminated UTF-8 string.
public static StringFromNativeUtf8 ( IntPtr nativeUtf8, int length ) : string
nativeUtf8 System.IntPtr
length int
리턴 string