RawDataStructure Class

Summary: The raw data structure.

Module: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures

Full Name: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures.RawDataStructure

Inheritance: OSTypeStructure

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
RawDataStructure(key_name)Initializes a new instance of the RawDataStructure class.

Properties

NameTypeAccessDescription
STRUCTURE_KEY [static]intrIdentifies the structure key.
databyter/wGets or sets the data.
keyintrGets the key.
key_nameClassIDr/wGets or sets the key name.
lengthintrGets the OSTypeStructure length in bytes.

Methods

NameDescription
get_header_length()Gets the header length.
save(stream_container)Saves the structure to the specified stream container.
save_without_key_name(stream_container)Saves the structure to the specified stream container.

Constructor: RawDataStructure(key_name)

 RawDataStructure(key_name) 

Initializes a new instance of the RawDataStructure class.

Parameters:

ParameterTypeDescription
key_nameClassIDThe key name.

Method: get_header_length()

 get_header_length() 

Gets the header length.

Returns

TypeDescription
intThe header length

Method: save(stream_container)

 save(stream_container) 

Saves the structure to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.

Method: save_without_key_name(stream_container)

 save_without_key_name(stream_container) 

Saves the structure to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.