IResourceDecoder: Decode

Decode

Decodes a raw resource data, returning the number of embedded resources created.



 Public Function Decode(
	  ByVal Key As ResourceKey,
	  ByRef Bytes ( ) As Byte ) As Long

Parameters

Key
[ByVal] ResourceKey. The key associated with the raw resource data.
Bytes
[ByRef] Byte. The raw resource data to be decoded.

Return Values

Long -  The number of resources created from the raw data.

Remarks

The decoder needs to maintain the newly decoded resource. Only one resource is decoded at a time and then retrieved, so the need to maintain multiple decoded resources is unecessary.

See Also

Project CorLib Overview

Class IResourceDecoder Overview