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>Inheritance
Section titled “Inheritance”Object → ByteRangePayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”Base64
Section titled “Base64”Returns: String
public string Base64 { get; init; }Returns: String
public string Hex { get; init; }Length
Section titled “Length”Returns: Int32
public int Length { get; init; }Offset
Section titled “Offset”Returns: Int32
public int Offset { get; init; }Methods
Section titled “Methods”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)Equals(ByteRangePayload?)
Section titled “Equals(ByteRangePayload?)”Parameters:
other(ByteRangePayload)
Returns: Boolean
public bool Equals(ByteRangePayload? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(ByteRangePayload?, ByteRangePayload?)
Section titled “operator !=(ByteRangePayload?, ByteRangePayload?)”Parameters:
left(ByteRangePayload)right(ByteRangePayload)
Returns: Boolean
public static bool operator !=(ByteRangePayload? left, ByteRangePayload? right)operator ==(ByteRangePayload?, ByteRangePayload?)
Section titled “operator ==(ByteRangePayload?, ByteRangePayload?)”Parameters:
left(ByteRangePayload)right(ByteRangePayload)
Returns: Boolean
public static bool operator ==(ByteRangePayload? left, ByteRangePayload? right)