Class AdapterBinaryChunk

Namespace
MirrorPulse.Adapter.Sdk
Assembly
MirrorPulse.Adapter.Sdk.dll
public sealed record AdapterBinaryChunk : IEquatable<AdapterBinaryChunk>
Inheritance
AdapterBinaryChunk
Implements
Inherited Members

Constructors

AdapterBinaryChunk(Guid, Guid, Guid, Guid, long, ReadOnlyMemory<byte>, bool)

public AdapterBinaryChunk(Guid RequestId, Guid InstanceId, Guid WorkerSessionId, Guid StreamId, long Offset, ReadOnlyMemory<byte> Data, bool EndOfStream)

Parameters

RequestId Guid
InstanceId Guid
WorkerSessionId Guid
StreamId Guid
Offset long
Data ReadOnlyMemory<byte>
EndOfStream bool

Properties

Data

public ReadOnlyMemory<byte> Data { get; init; }

Property Value

ReadOnlyMemory<byte>

EndOfStream

public bool EndOfStream { get; init; }

Property Value

bool

InstanceId

public Guid InstanceId { get; init; }

Property Value

Guid

Offset

public long Offset { get; init; }

Property Value

long

RequestId

public Guid RequestId { get; init; }

Property Value

Guid

RootKey

public string? RootKey { get; init; }

Property Value

string

StreamId

public Guid StreamId { get; init; }

Property Value

Guid

WorkerSessionId

public Guid WorkerSessionId { get; init; }

Property Value

Guid

Methods

Deconstruct(out Guid, out Guid, out Guid, out Guid, out long, out ReadOnlyMemory<byte>, out bool)

public void Deconstruct(out Guid RequestId, out Guid InstanceId, out Guid WorkerSessionId, out Guid StreamId, out long Offset, out ReadOnlyMemory<byte> Data, out bool EndOfStream)

Parameters

RequestId Guid
InstanceId Guid
WorkerSessionId Guid
StreamId Guid
Offset long
Data ReadOnlyMemory<byte>
EndOfStream bool

Equals(AdapterBinaryChunk?)

public bool Equals(AdapterBinaryChunk? other)

Parameters

other AdapterBinaryChunk

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 ==(AdapterBinaryChunk?, AdapterBinaryChunk?)

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

Parameters

left AdapterBinaryChunk
right AdapterBinaryChunk

Returns

bool

operator !=(AdapterBinaryChunk?, AdapterBinaryChunk?)

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

Parameters

left AdapterBinaryChunk
right AdapterBinaryChunk

Returns

bool