public class FIXCheckSums extends Object
Modifier and Type | Method and Description |
---|---|
static long |
sum(ByteBuffer buffer,
int offset,
int length)
Return the sum of bytes in a buffer.
|
public static long sum(ByteBuffer buffer, int offset, int length)
buffer
- a bufferoffset
- the offsetlength
- the lengthBufferUnderflowException
- if the length from the offset exceeds
the limit of the bufferCopyright © 2018. All rights reserved.