workspace
インタフェース Checksum

既知の実装クラスの一覧:
Adler32

public interface Checksum


メソッドの概要
 long getValue()
          Returns the current checksum value.
 void reset()
          Resets the checksum to its initial value.
 void update(byte[] b, int off, int len)
          Updates the current checksum with the specified array of bytes.
 void update(int b)
          Updates the current checksum with the specified byte.
 

メソッドの詳細

update

public void update(int b)
Updates the current checksum with the specified byte.


update

public void update(byte[] b,
                   int off,
                   int len)
Updates the current checksum with the specified array of bytes.


getValue

public long getValue()
Returns the current checksum value.


reset

public void reset()
Resets the checksum to its initial value.