Table of Contents

Class ChunkedTrailer

Namespace
KernLab.Cell
Assembly
KernLab.Cell.dll

分块流收场尾单(Completion——错误码非 0=调用失败,已读部分体是部分产物)。

public sealed record ChunkedTrailer : IEquatable<ChunkedTrailer>
Inheritance
ChunkedTrailer
Implements
Inherited Members

Constructors

ChunkedTrailer(ushort, ushort)

分块流收场尾单(Completion——错误码非 0=调用失败,已读部分体是部分产物)。

public ChunkedTrailer(ushort ErrorCode, ushort CodecId)

Parameters

ErrorCode ushort
CodecId ushort

Properties

CodecId

public ushort CodecId { get; init; }

Property Value

ushort

ErrorCode

public ushort ErrorCode { get; init; }

Property Value

ushort

Methods

Deconstruct(out ushort, out ushort)

public void Deconstruct(out ushort ErrorCode, out ushort CodecId)

Parameters

ErrorCode ushort
CodecId ushort

Equals(ChunkedTrailer?)

public bool Equals(ChunkedTrailer? other)

Parameters

other ChunkedTrailer

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChunkedTrailer?, ChunkedTrailer?)

public static bool operator ==(ChunkedTrailer? left, ChunkedTrailer? right)

Parameters

left ChunkedTrailer
right ChunkedTrailer

Returns

bool

operator !=(ChunkedTrailer?, ChunkedTrailer?)

public static bool operator !=(ChunkedTrailer? left, ChunkedTrailer? right)

Parameters

left ChunkedTrailer
right ChunkedTrailer

Returns

bool