Constructors
constructor
- new ArgSerializer(options?: IArgSerializerOptions): ArgSerializer
Parameters
Optional
options: IArgSerializerOptions
Properties
Methods
buffersToValues
- buffersToValues(
buffers: Buffer[],
parameters: IParameterDefinition[],
): TypedValue[] Parameters
- buffers: Buffer[]
- parameters: IParameterDefinition[]
stringToBuffers
- stringToBuffers(joinedString: string): Buffer[]
Returns Buffer[]
stringToValues
- stringToValues(
joinedString: string,
parameters: IParameterDefinition[],
): TypedValue[] Parameters
- joinedString: string
- parameters: IParameterDefinition[]
valuesToBuffers
- valuesToBuffers(values: TypedValue[]): Buffer[]
Returns Buffer[]
valuesToString
- valuesToString(values: TypedValue[]): { argumentsString: string; count: number }
Returns { argumentsString: string; count: number }
valuesToStrings
- valuesToStrings(values: TypedValue[]): string[]
Returns string[]
Decodes a set of buffers into a set of typed values, given parameter definitions.