Class BufferedChecksum
Wraps another IChecksum with an internal buffer to speed up checksum calculations.
Inheritance
System.Object
    BufferedChecksum
  Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class BufferedChecksum : IChecksum
  Constructors
| Improve this Doc View SourceBufferedChecksum(IChecksum)
Create a new BufferedChecksum with DEFAULT_BUFFERSIZE
Declaration
public BufferedChecksum(IChecksum in)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IChecksum | in | 
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 SourceDEFAULT_BUFFERSIZE
Default buffer size: 256
Declaration
public const int DEFAULT_BUFFERSIZE = 256
  Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
Properties
| Improve this Doc View SourceValue
Declaration
public virtual long Value { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
Methods
| Improve this Doc View SourceReset()
Declaration
public virtual void Reset()
  Update(Byte[])
Declaration
public virtual void Update(byte[] b)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | b | 
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 | 
Update(Int32)
Declaration
public virtual void Update(int b)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | b |