LumiSoft Net Help
Decode Method (encBuffer, encOffset, encCount, buffer, offset, ignoreNonBase64Chars)
NamespacesLumiSoft.Net.IOBase64Decode(array<Byte>[]()[][], Int32, Int32, array<Byte>[]()[][], Int32, Boolean)
Decodes base64 encoded bytes.
Declaration Syntax
C#Visual BasicVisual C++F#
public int Decode(
	byte[] encBuffer,
	int encOffset,
	int encCount,
	byte[] buffer,
	int offset,
	bool ignoreNonBase64Chars
)
Public Function Decode ( 
	encBuffer As Byte(),
	encOffset As Integer,
	encCount As Integer,
	buffer As Byte(),
	offset As Integer,
	ignoreNonBase64Chars As Boolean
) As Integer
public:
int Decode(
	array<unsigned char>^ encBuffer, 
	int encOffset, 
	int encCount, 
	array<unsigned char>^ buffer, 
	int offset, 
	bool ignoreNonBase64Chars
)
member Decode : 
        encBuffer : byte[] * 
        encOffset : int * 
        encCount : int * 
        buffer : byte[] * 
        offset : int * 
        ignoreNonBase64Chars : bool -> int 
Parameters
encBuffer (array<Byte>[]()[][])
Base64 encoded data buffer.
encOffset (Int32)
Offset in the encBuffer.
encCount (Int32)
Number of bytes available in the encBuffer.
buffer (array<Byte>[]()[][])
Buffer where to decode data.
offset (Int32)
Offset int the buffer.
ignoreNonBase64Chars (Boolean)
If true all invalid base64 chars ignored. If false, FormatException is raised.
Return Value
Int32
Returns number of bytes decoded.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when encBuffer or encBuffer is null reference.
ArgumentOutOfRangeExceptionIs raised when any of the arguments has out of valid range.
FormatExceptionIs raised when encBuffer contains invalid base64 data.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119