void (ByteBuffer buffer) { buffer.putLong(seed); buffer.putInt(fingerprints.length); buffer.asShortBuffer().put(fingerprints); buffer.position(buffer.position() + (fingerprints.length * Short.BYTES)); }