Method GetEncodedLength
GetEncodedLength(Byte[], Int32, Int32)
Returns the number of chars required to encode the given
Declaration
public static int GetEncodedLength(byte[] inputArray, int inputOffset, int inputLength)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | inputArray | Byte sequence to be encoded |
System.Int32 | inputOffset | Initial offset into |
System.Int32 | inputLength | Number of bytes in |
Returns
Type | Description |
---|---|
System.Int32 | The number of chars required to encode the number of |
GetEncodedLength(SByte[], Int32, Int32)
Returns the number of chars required to encode the given
Declaration
public static int GetEncodedLength(sbyte[] inputArray, int inputOffset, int inputLength)
Parameters
Type | Name | Description |
---|---|---|
System.SByte[] | inputArray | |
System.Int32 | inputOffset | Initial offset into |
System.Int32 | inputLength | Number of sbytes in |
Returns
Type | Description |
---|---|
System.Int32 | The number of chars required to encode the number of |