Skip to content

ByteRangePayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

Bytes read from a binary at a requested offset. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

public sealed record ByteRangePayload : IEquatable<ByteRangePayload>

ObjectByteRangePayload

ByteRangePayload(int, int, string, string)

Section titled “ByteRangePayload(int, int, string, string)”

Bytes read from a binary at a requested offset. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

Parameters:

public ByteRangePayload(int Offset, int Length, string Hex, string Base64)

Returns: String

public string Base64 { get; init; }

Returns: String

public string Hex { get; init; }

Returns: Int32

public int Length { get; init; }

Returns: Int32

public int Offset { get; init; }

Deconstruct(out int, out int, out string, out string)

Section titled “Deconstruct(out int, out int, out string, out string)”

Parameters:

public void Deconstruct(out int Offset, out int Length, out string Hex, out string Base64)

Parameters:

Returns: Boolean

public bool Equals(ByteRangePayload? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(ByteRangePayload?, ByteRangePayload?)

Section titled “operator !=(ByteRangePayload?, ByteRangePayload?)”

Parameters:

Returns: Boolean

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

operator ==(ByteRangePayload?, ByteRangePayload?)

Section titled “operator ==(ByteRangePayload?, ByteRangePayload?)”

Parameters:

Returns: Boolean

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