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 ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionint
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 nameint
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 digitsint
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 -
Method Summary
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
-
Field Details
-
EOS_TITLESTORAGE_FILEMETADATA_API_LATEST
public static final int EOS_TITLESTORAGE_FILEMETADATA_API_LATESTThe most recent version of the EOS_TitleStorage_FileMetadata API.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_TITLESTORAGE_FILEMETADATA_API_LATEST. -
FileSizeBytes
public int FileSizeBytesThe total size of the file in bytes (Includes file header in addition to file contents). -
MD5Hash
The MD5 Hash of the entire file (including additional file header), in hex digits -
Filename
The file's name -
UnencryptedDataSizeBytes
public int UnencryptedDataSizeBytesThe 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
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-