GetUtf8StringByteLength() private static méthode

private static GetUtf8StringByteLength ( void pUtf8String ) : int
pUtf8String void
Résultat int
Exemple #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;
 }
Exemple #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;
     }
 }