Convert a MemoryStream to a Base64 representation of bytes

Namespace: LLCryptoLib.Crypto
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public static string MemoryToBase64String(
	MemoryStream instream
)
Visual Basic
Public Shared Function MemoryToBase64String ( _
	instream As MemoryStream _
) As String
Visual C++
public:
static String^ MemoryToBase64String(
	MemoryStream^ instream
)

Parameters

instream
Type: System.IO..::..MemoryStream
Memory Stream containing bytes

Return Value

Base 64 representation of bytes

Exceptions

ExceptionCondition
System..::..ArgumentNullException

See Also