Skip to main content
Namespace: Ans.DataProcessing.operators.serialization

Summary

Take any input and serialize them in a string. available inputs: stream_type (Int32), any_input1 (object), any_input2 (object) available outputs: nof_chunks (Int32), serialized_string1 (string), serialized_string2 (string)

Example

Class Information

Inputs

stream_type

0 for string (default), 1 for binary, 2 for binary with chunked output (the output string will be returned in several chunks to prevent string memory overflows). Type: LinkableInput

any_input1

any input Type: LinkableInput

any_input2

any input Type: LinkableInput

Outputs

nof_chunks

Number of chunks when mode passed to input pin(-1) = 2. Type: LinkableOutput

serialized_string1

Type: LinkableOutput

serialized_string2

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • stream_type (object)
  • any_input1 (object)
  • any_input2 (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config