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

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