public void save(String snapshot, File destFile) {
        byte[] bytes = DECODER.decode(snapshot);
        if (bytes.length != 0) {
            // offset = bytes;
            try (OutputStream output = Files.newOutputStream(destFile.toPath())) {
                output.write(bytes);
            } catch (Throwable e) {
                LOGGER.error("save offset to file error", e);
                ThreadUtils.threadThrowableHandler(Thread.currentThread(), e);
            }
        }
    }
offset persist

@param snapshot Contents of the file to be written back
@param destFile Target file
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/snapshot/AbstractSnapshot.java