Share via


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

Return Value

Type: System.Byte[]

See Also

GetStreamBytes Overload
MimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top