共用方式為


MimeHelpers.GetStreamBytes Method (Stream, Int64)

 

Gets bytes from a generic data stream.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static byte[] GetStreamBytes(
    Stream dataStream,
    long offset
)
public:
static array<unsigned char>^ GetStreamBytes(
    Stream^ dataStream,
    long long offset
)
Public Shared Function GetStreamBytes (
    dataStream As Stream,
    offset As Long
) As Byte()

Parameters

Return Value

Type: System.Byte[]

All bytes contained in the data stream. This is implementation-specific based on stream type.

See Also

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

Return to top