Show / Hide Table of Contents

IsValidEncodingForPut Method

IsValidEncodingForPut(PivDataTag, ReadOnlyMemory<byte>)

Is the given encoding valid for PUT DATA using the specified tag.

C#
public static bool IsValidEncodingForPut(this PivDataTag tag, ReadOnlyMemory<byte> encoding)

Parameters

Type Name Description
PivDataTag tag

The tag to check.

ReadOnlyMemory<byte> encoding

The encoding to check.

Returns

bool

A boolean, true if the encoding follows the defined encoding format, and false otherwise.

Remarks

Each tag has a defined encoding format for the data to PUT. This method will verify that the data follows the correct format. It does not verify the content, it simply verifies the format.

In this article
Back to top Generated by DocFX