Get Text from Bytes Activity

Description:

Decodes all the bytes in the specified byte array into a string.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.GetTextFromBytes

Function:

This activity converts a byte array to a text string.

In a Workflow:

This activity provides a convenient way to obtain the text representation of raw byte data. This may be useful in conjuction with other activities, such as Web Request, which produce byte data as output.

This activity allows you to control the character encoding used when converting between a byte array and a string.

Properties:

Name Description

Out Arguments

Bytes

The input byte array containing the sequence of bytes to decode..

Encoding

The character encoding. If not specified, the operating system's default encoding will be used. For example:

Misc

Display Name

GetTextFromBytes

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments

Result

The result text.

Version Information:

Supported from: Geocortex Essentials 3.15.