Selerix Developer Tools
EncodeBase64URLSafeString Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class : EncodeBase64URLSafeString Method
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output. The url-safe variation emits - and _ instead of + and / characters.
Syntax
'Declaration
 
Public Shared Function EncodeBase64URLSafeString( _
   ByVal toEncode() As Byte _
) As String
'Usage
 
Dim toEncode() As Byte
Dim value As String
 
value = Utils.EncodeBase64URLSafeString(toEncode)
public static string EncodeBase64URLSafeString( 
   byte[] toEncode
)
public function EncodeBase64URLSafeString( 
    toEncode: Bytearray of
): String; static; 
public static function EncodeBase64URLSafeString( 
   toEncode : byte[]
) : String;
public: static string* EncodeBase64URLSafeString( 
   byte[]* toEncode
) 
public:
static String^ EncodeBase64URLSafeString( 
   array<byte>^ toEncode
) 

Parameters

toEncode
See Also

Reference

Utils Class
Utils Members