BaseEncodingToBase64String(Byte, Int32, Int32) Method
Converts a byte array to its corresponding Base64 encoding described in
RFC 4648.
Namespace: ARSoft.Tools.NetAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public static string ToBase64String(
this byte[] inArray,
int offset,
int length
)
<ExtensionAttribute>
Public Shared Function ToBase64String (
inArray As Byte(),
offset As Integer,
length As Integer
) As String
public:
[ExtensionAttribute]
static String^ ToBase64String(
array<unsigned char>^ inArray,
int offset,
int length
)
[<ExtensionAttribute>]
static member ToBase64String :
inArray : byte[] *
offset : int *
length : int -> string
- inArray Byte
- An array of 8-bit unsigned integers.
- offset Int32
- An offset in inArray.
- length Int32
- The number of elements of inArray to convert.
String Encoded string In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).