Show / Hide Table of Contents

    Class BufferedChecksum

    Wraps another IChecksum with an internal buffer to speed up checksum calculations.

    Inheritance
    System.Object
    BufferedChecksum
    Implements
    IChecksum
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class BufferedChecksum : object, IChecksum

    Constructors

    | Improve this Doc View Source

    BufferedChecksum(IChecksum)

    Create a new BufferedChecksum with DEFAULT_BUFFERSIZE

    Declaration
    public BufferedChecksum(IChecksum in)
    Parameters
    Type Name Description
    IChecksum in
    | Improve this Doc View Source

    BufferedChecksum(IChecksum, Int32)

    Create a new BufferedChecksum with the specified bufferSize

    Declaration
    public BufferedChecksum(IChecksum in, int bufferSize)
    Parameters
    Type Name Description
    IChecksum in
    System.Int32 bufferSize

    Fields

    | Improve this Doc View Source

    DEFAULT_BUFFERSIZE

    Default buffer size: 256

    Declaration
    public const int DEFAULT_BUFFERSIZE = null
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    Value

    Declaration
    public virtual long Value { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Reset()

    Declaration
    public virtual void Reset()
    | Improve this Doc View Source

    Update(Byte[])

    Declaration
    public virtual void Update(byte[] b)
    Parameters
    Type Name Description
    System.Byte[] b
    | Improve this Doc View Source

    Update(Byte[], Int32, Int32)

    Declaration
    public virtual void Update(byte[] b, int off, int len)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 off
    System.Int32 len
    | Improve this Doc View Source

    Update(Int32)

    Declaration
    public virtual void Update(int b)
    Parameters
    Type Name Description
    System.Int32 b

    Implements

    IChecksum
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)