10 protected unsafe
override string FormatNative(
Oid oid,
byte[] rawData,
bool multiLine)
12 string s =
string.Empty;
13 if (oid !=
null && oid.
Value !=
null)
17 int dwFormatStrType = (multiLine ? 1 : 0);
23 if (global::Interop.Crypt32.CryptFormatObject(1, 0, dwFormatStrType,
IntPtr.
Zero, (
byte*)(
void*)intPtr, rawData, rawData.Length,
null, ref pcbFormat))
25 int num = (pcbFormat + 1) / 2;
28 fixed (
char* ptr = span2)
30 if (global::Interop.Crypt32.CryptFormatObject(1, 0, dwFormatStrType,
IntPtr.
Zero, (
byte*)(
void*)intPtr, rawData, rawData.Length, ptr, ref pcbFormat))