BaseEncoding GetBytes Method ( Char , Int32, Int32,  Byte , Int32, Int32)CryptSharp
Converts characters from their text representation to a binary representation.

Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax

public int GetBytes(
	char[] chars,
	int charIndex,
	int charCount,
	byte[] bytes,
	int byteIndex,
	int byteCount
)

Parameters

chars
Type:  OnlineSystem Char 
An input array of characters.
charIndex
Type: OnlineSystem Int32
The index of the first character.
charCount
Type: OnlineSystem Int32
The number of characters to read.
bytes
Type:  OnlineSystem Byte 
An output array of bytes.
byteIndex
Type: OnlineSystem Int32
The index of the first byte.
byteCount
Type: OnlineSystem Int32
The number of bytes to write.

Return Value

The number of bytes written.
See Also