Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Container.Decompress

Decompresses a container value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Container 5.3 Yes Yes Yes Yes Yes

MBS( "Container.Decompress"; ContainerValue )

Parameters

Parameter Description Example value
ContainerValue The container value to decompress.

Result

Returns container value or error.

Description

Decompresses a container value.
If you pass a compressed container value, this function will decompress it and return the container value with uncompressed data.

Compressed containers can be detected by looking if the type list returned by Container.GetTypes contains an item named ZLIB. You can use Container.GetTypeSize to query the size of compressed data alone.

Examples

Decompress container:

Set Field [Container Compression::Decompressed; MBS("Container.Decompress"; Container Compression::Compressed)]

See also

Example Databases


Container.DecodeFromHex   -   Container.Deserialize

Feedback: Report problem or ask question.




Links
MBS FileMaker blog