AsExtensions.AsString Method (Byte[], Int32, Int32)

Tungsten Suite

AsExtensionsAsString Method (Byte, Int32, Int32)

Converts an encoded byte array to a string

Namespace:  W
Assembly:  Tungsten.As (in Tungsten.As.dll) Version: 2.0.1
Syntax
C#
public static string AsString(
	this byte[] this,
	int index,
	int count
)

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

Return Value

Type: String
The string representation of the encoded byte array

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).
See Also