Search Results for

    Show / Hide Table of Contents

    Struct LogEntry

    Implements
    IEquatable<LogEntry>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Tenray.ZoneTree.WAL
    Assembly: ZoneTree.dll
    Syntax
    public struct LogEntry : IEquatable<LogEntry>

    Fields

    | Improve this Doc View Source

    Checksum

    Declaration
    public uint Checksum
    Field Value
    Type Description
    uint
    | Improve this Doc View Source

    Key

    Declaration
    public Memory<byte> Key
    Field Value
    Type Description
    Memory<byte>
    | Improve this Doc View Source

    KeyLength

    Declaration
    public int KeyLength
    Field Value
    Type Description
    int
    | Improve this Doc View Source

    OpIndex

    Declaration
    public long OpIndex
    Field Value
    Type Description
    long
    | Improve this Doc View Source

    Value

    Declaration
    public Memory<byte> Value
    Field Value
    Type Description
    Memory<byte>
    | Improve this Doc View Source

    ValueLength

    Declaration
    public int ValueLength
    Field Value
    Type Description
    int

    Methods

    | Improve this Doc View Source

    AppendLogEntry(BinaryWriter, Memory<byte>, Memory<byte>, long)

    Declaration
    public static void AppendLogEntry(BinaryWriter binaryWriter, Memory<byte> keyBytes, Memory<byte> valueBytes, long opIndex)
    Parameters
    Type Name Description
    BinaryWriter binaryWriter
    Memory<byte> keyBytes
    Memory<byte> valueBytes
    long opIndex
    | Improve this Doc View Source

    CreateChecksum()

    Declaration
    public uint CreateChecksum()
    Returns
    Type Description
    uint
    | Improve this Doc View Source

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)
    | Improve this Doc View Source

    Equals(LogEntry)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(LogEntry other)
    Parameters
    Type Name Description
    LogEntry other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Improve this Doc View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()
    | Improve this Doc View Source

    ReadLogEntry(BinaryReader, ref LogEntry)

    Declaration
    public static void ReadLogEntry(BinaryReader reader, ref LogEntry entry)
    Parameters
    Type Name Description
    BinaryReader reader
    LogEntry entry
    | Improve this Doc View Source

    ValidateChecksum()

    Declaration
    public bool ValidateChecksum()
    Returns
    Type Description
    bool

    Operators

    | Improve this Doc View Source

    operator ==(LogEntry, LogEntry)

    Declaration
    public static bool operator ==(LogEntry left, LogEntry right)
    Parameters
    Type Name Description
    LogEntry left
    LogEntry right
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    operator !=(LogEntry, LogEntry)

    Declaration
    public static bool operator !=(LogEntry left, LogEntry right)
    Parameters
    Type Name Description
    LogEntry left
    LogEntry right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io