GetUtf8StringByteLength() private static method

private static GetUtf8StringByteLength ( void pUtf8String ) : int
pUtf8String void
return int
Beispiel #1
0
 internal unsafe Utf8String(void *pStringHeap)
 {
     this.m_pStringHeap = pStringHeap;
     if (pStringHeap != null)
     {
         this.m_StringHeapByteLength = Utf8String.GetUtf8StringByteLength(pStringHeap);
         return;
     }
     this.m_StringHeapByteLength = 0;
 }
Beispiel #2
0
 internal unsafe Utf8String(void *pStringHeap)
 {
     this.m_pStringHeap = pStringHeap;
     if ((IntPtr)pStringHeap != IntPtr.Zero)
     {
         this.m_StringHeapByteLength = Utf8String.GetUtf8StringByteLength(pStringHeap);
     }
     else
     {
         this.m_StringHeapByteLength = 0;
     }
 }