Imports/Trinet.Core.IO.Ntfs/Source/StreamName.cs
/// <summary>
/// Reads the Unicode string from the memory block.
/// </summary>
/// <param name="length">
/// The length of the string to read, in characters.
/// </param>
/// <returns>
/// The string read from the memory block.
/// </returns>
Reads the Unicode string from the memory block.
Reads the Unicode string from the memory block .
public string ReadString(int length)
		{
			if (0 >= length || _memoryBlock.IsInvalid) return null;
			if (length > _memoryBlock.Size) length = _memoryBlock.Size;
			return Marshal.PtrToStringUni(_memoryBlock.DangerousGetHandle(), length);
		}
public string ReadString ( int length ) { if ( 0 >= length || _memoryBlock . IsInvalid ) return null ; if ( length > _memoryBlock . Size ) length = _memoryBlock . Size ; return Marshal . PtrToStringUni ( _memoryBlock . DangerousGetHandle ( ) , length ) ; }
Reads the Unicode string from the memory block.
Reads the Unicode string from the memory block .
The string read from the memory block.
The string read from the memory block .
length
int
The length of the string to read, in characters.
The length of the string to read in characters .