setCaching

setCaching(onOff: Boolean);

The setCaching method of the JadeBytes class is used to enable or disable caching of the data content of the receiver by setting the value of the onOff parameter to true or false, respectively.

When caching is disabled (the default setting):

When caching is enabled:

The caching setting for the JadeBytes object applies for as long as it remains in the object cache.

This method has no effect on singleFile instances.