Exemplo n.º 1
0
 private SafeCoTaskMemString(IntPtr ptr, CharSet charSet = CharSet.Unicode, bool ownsHandle = true, PInvoke.SizeT allocatedBytes = default) :
     base(ptr, charSet, ownsHandle, allocatedBytes)
 {
 }
Exemplo n.º 2
0
 protected SafeMemString(IntPtr ptr, CharSet charSet = CharSet.Unicode, bool ownsHandle = true, PInvoke.SizeT allocatedBytes = default) : base(ptr, allocatedBytes, ownsHandle)
 {
     CharSet = charSet;
 }