BaseEncodingGetChars Method (Byte, Int32, Int32, Char, Int32, Int32) | CryptSharp |
Converts bytes from their binary representation to a text representation.
Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
public int GetChars( byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount )
Public Function GetChars ( bytes As Byte(), byteIndex As Integer, byteCount As Integer, chars As Char(), charIndex As Integer, charCount As Integer ) As Integer
public: int GetChars( array<unsigned char>^ bytes, int byteIndex, int byteCount, array<wchar_t>^ chars, int charIndex, int charCount )
member GetChars : bytes : byte[] * byteIndex : int * byteCount : int * chars : char[] * charIndex : int * charCount : int -> int
Parameters
- bytes
- Type: SystemByte
An input array of bytes. - byteIndex
- Type: SystemInt32
The index of the first byte. - byteCount
- Type: SystemInt32
The number of bytes to read. - chars
- Type: SystemChar
An output array of characters. - charIndex
- Type: SystemInt32
The index of the first character. - charCount
- Type: SystemInt32
The number of characters to write.
Return Value
Type: Int32The number of characters written.
See Also