Package org.agrona.checksum
Interface Checksum
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Checksum
An interface representing API to compute a data checksum.Note: Instances should be threadsafe and stateless.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
compute(long address, int offset, int length)
Computes a checksum based on the contents of ajava.nio.DirectByteBuffer
.
-