Hello!

I am implementing a Cache functionality for a project I am working on, and
one of the requirements is to limit the cache size to a specific amount (say
10MB).
To do this, I need to know the size in bytes (or similar) of each cached
item.

I know it can be done using ByteArray, but it doesn't work for me.
It requires the cached item to have the [RemoteClass] metatag, since it's
using AMF to serialize the Object. I can't rely on every cached item having
that metatag and it's an unrealistic requirement.

Anyone have any ideas on how this can be accomplished?

Thanks,
Sefi

Reply via email to