MimeHelpers.GetStreamBytes Method (MemoryStream)
Gets bytes from a memory stream (optimization).
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static byte[] GetStreamBytes(
MemoryStream dataStream
)
public:
static array<unsigned char>^ GetStreamBytes(
MemoryStream^ dataStream
)
Public Shared Function GetStreamBytes (
dataStream As MemoryStream
) As Byte()
Parameters
dataStream
Type: System.IO.MemoryStreamThe memory stream.
Return Value
Type: System.Byte[]
See Also
GetStreamBytes Overload
MimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top