AsExtensions.AsString Method (Byte[], Int32, Int32, Encoding)
From Tungsten Suite
Tungsten
|
|
AsExtensionsAsString Method (Byte, Int32, Int32, Encoding) |
Converts an encoded byte array to a string
Namespace: W
Assembly: Tungsten.As (in Tungsten.As.dll) Version: 2.0.1
C#
public static string AsString( this byte[] this, int index, int count, Encoding encoding )
Parameters
- this
- Type: SystemByte
The encoded byte array to conver to a string - index
- Type: SystemInt32
The starting index - count
- Type: SystemInt32
The number of bytes to convert - encoding
- Type: System.TextEncoding
The encoding to use
Return Value
Type: StringThe string representation of the encoded byte array