Class FileSourceHelper.DataAndDigest

  • Enclosing class:
    FileSourceHelper

    public static final class FileSourceHelper.DataAndDigest
    extends Object
    Data and digest of a file. Data in an instance are guaranteed to be paired - e.g. the digest is for the bytes provided.
    • Method Detail

      • data

        public byte[] data()
        Data loaded from the file.
        Returns:
        bytes of the file
      • digest

        public byte[] digest()
        Digest of the data that was loaded.
        Returns:
        bytes of the digest