Class EOS_TitleStorage_FileMetadata

java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.titlestorage.EOS_TitleStorage_FileMetadata
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
EOS_TitleStorage_FileMetadata.ByReference, EOS_TitleStorage_FileMetadata.ByValue

@FieldOrder({"ApiVersion","FileSizeBytes","MD5Hash","Filename","UnencryptedDataSizeBytes"}) public class EOS_TitleStorage_FileMetadata extends com.sun.jna.Structure implements AutoCloseable
Metadata information for a specific file
Since:
9/3/2023
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    API Version: Set this to EOS_TITLESTORAGE_FILEMETADATA_API_LATEST.
    static final int
    The most recent version of the EOS_TitleStorage_FileMetadata API.
    The file's name
    int
    The total size of the file in bytes (Includes file header in addition to file contents).
    The MD5 Hash of the entire file (including additional file header), in hex digits
    int
    The size of data (payload) in file in unencrypted (original) form.

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_TitleStorage_FileMetadata(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    Free the memory used by the file metadata

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • EOS_TITLESTORAGE_FILEMETADATA_API_LATEST

      public static final int EOS_TITLESTORAGE_FILEMETADATA_API_LATEST
      The most recent version of the EOS_TitleStorage_FileMetadata API.
      See Also:
    • ApiVersion

      public int ApiVersion
      API Version: Set this to EOS_TITLESTORAGE_FILEMETADATA_API_LATEST.
    • FileSizeBytes

      public int FileSizeBytes
      The total size of the file in bytes (Includes file header in addition to file contents).
    • MD5Hash

      public String MD5Hash
      The MD5 Hash of the entire file (including additional file header), in hex digits
    • Filename

      public String Filename
      The file's name
    • UnencryptedDataSizeBytes

      public int UnencryptedDataSizeBytes
      The size of data (payload) in file in unencrypted (original) form.
  • Constructor Details

    • EOS_TitleStorage_FileMetadata

      public EOS_TitleStorage_FileMetadata()
    • EOS_TitleStorage_FileMetadata

      public EOS_TitleStorage_FileMetadata(com.sun.jna.Pointer peer)
  • Method Details

    • release

      public void release()
      Free the memory used by the file metadata
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception