public string GetString() { short[] data = pString.GetValue(); byte[] buffer = new byte[data.Length * 2]; Buffer.BlockCopy(data, 0, buffer, 0, buffer.Length); return(Encoding.Unicode.GetString(buffer)); }
/// <summary> /// Helper to dereference a type. /// </summary> /// <typeparam name="T">The type to dereference.</typeparam> /// <param name="t">The value to dereference.</param> /// <returns>The dereferenced result.</returns> public static T DeRef <T>(NdrEmbeddedPointer <T> t) { return(t.GetValue()); }
public object GetObject() { return((byte[])(object)pBlob.GetValue()); }
public string GetString() { return(BinaryEncoding.Instance.GetString(pString.GetValue())); }
public object GetObject() { return((byte[])(object)Data.GetValue()); }