withCodec<S> abstract method

Cache<S> withCodec<S>(
  1. Codec<S, T> codec
)

Get a Cache wrapping of this cache by encoding objects of type S as T using the given codec.

Implementation

Cache<S> withCodec<S>(Codec<S, T> codec);