Class Base64Encoding
Inheritance
Base64Encoding
Assembly: cs.temp.dll.dll
Syntax
public static class Base64Encoding
Methods
Base64ToUtf8<T, U>(ref T, ref U)
Declaration
public static void Base64ToUtf8<T, U>(this ref T src, ref U tar)
where T : struct, IUTF8Bytes, INativeList<byte> where U : struct, IUTF8Bytes, INativeList<byte>
Parameters
Type |
Name |
Description |
T |
src |
|
U |
tar |
|
Type Parameters
BytesRequiredForBase64Encoding(Int32)
Declaration
public static int BytesRequiredForBase64Encoding(int currentBytes)
Parameters
Type |
Name |
Description |
Int32 |
currentBytes |
|
Returns
CopyFromBase64<TByteArray>(ref TByteArray, NativeText, Int32)
Declaration
public static void CopyFromBase64<TByteArray>(this ref TByteArray bytes, NativeText s, int maxLength = 2147483647)
where TByteArray : struct, IArray<byte>
Parameters
Type |
Name |
Description |
TByteArray |
bytes |
|
NativeText |
s |
|
Int32 |
maxLength |
|
Type Parameters
Name |
Description |
TByteArray |
|
CopyFromBase64<TByteArray, T>(ref TByteArray, T, Int32)
Declaration
public static void CopyFromBase64<TByteArray, T>(this ref TByteArray bytes, T s, int maxLength = 2147483647)
where TByteArray : struct, IArray<byte> where T : struct, IUTF8Bytes, INativeList<byte>
Parameters
Type |
Name |
Description |
TByteArray |
bytes |
|
T |
s |
|
Int32 |
maxLength |
|
Type Parameters
Name |
Description |
TByteArray |
|
T |
|
CopyToBase64<TBytes>(TBytes, ref NativeText)
Declaration
public static void CopyToBase64<TBytes>(this TBytes bytes, ref NativeText s)
where TBytes : struct, IArray<byte>
Parameters
Type |
Name |
Description |
TBytes |
bytes |
|
NativeText |
s |
|
Type Parameters
CopyToBase64<TBytes, T>(TBytes, ref T)
Declaration
public static void CopyToBase64<TBytes, T>(this TBytes bytes, ref T s)
where TBytes : struct, IArray<byte> where T : struct, IUTF8Bytes, INativeList<byte>
Parameters
Type |
Name |
Description |
TBytes |
bytes |
|
T |
s |
|
Type Parameters
Name |
Description |
TBytes |
|
T |
|
Utf8ToBase64<T, U>(ref T, ref U)
Declaration
public static void Utf8ToBase64<T, U>(this ref T src, ref U tar)
where T : struct, IUTF8Bytes, INativeList<byte> where U : struct, IUTF8Bytes, INativeList<byte>
Parameters
Type |
Name |
Description |
T |
src |
|
U |
tar |
|
Type Parameters