FromBase64String

xiaoxiao2021-03-06  40

The length of the string must be an even multiple of 4, preferably with an error handling

Try Me.data = System.Convert.FromBase64String (buffer.Substring (start, 8 * (buffer.Substring (start) .Length / 8))) Catch exp As System.ArgumentNullException System.Console.WriteLine ( "Base 64 string is Null. ") Return Catch Exp As System.MMATEXCEPTION System.Console.Writeline (" Base 64 Length Is Not 4 or IS " _" Not An Even Multiple of 4. "Return End Try

转载请注明原文地址:https://www.9cbs.com/read-118456.html

New Post(0)