LumiSoft Net Help
Decode Method (value, ignoreNonBase64Chars)
Namespaces ► LumiSoft.Net.IO ► Base64 ► Decode(String, Boolean)
Decodes specified base64 string.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public byte[] Decode(
    	string value,
    	bool ignoreNonBase64Chars
    )

    Public Function Decode (
    	value As String,
    	ignoreNonBase64Chars As Boolean
    ) As Byte()

    public:
    array<unsigned char>^ Decode(
    	String^ value,
    	bool ignoreNonBase64Chars
    )

    member Decode :
            value : string *
            ignoreNonBase64Chars : bool -> byte[]

Parameters

value (String)
  Base64 string.

ignoreNonBase64Chars (Boolean)
  If true all invalid base64 chars ignored. If false, FormatException is raised.

Return Value
array<Byte>[]()[][]
Returns decoded data.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when value is null reference.
FormatException | Is raised when value contains invalid base64 data.

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