Class ShortStringKeyEncoder
- Namespace
- Scaleout.Client.KeyEncoding
- Assembly
- Scaleout.Client.dll
A key encoder for string keys that do not exceed 26 bytes (when encoded as UTF-8). Offers better performance than the default string key encoder and results in less memory usage in the ScaleOut service.
public class ShortStringKeyEncoder : KeyEncoder<string>
- Inheritance
-
ShortStringKeyEncoder
- Inherited Members
Methods
- Encode(string)
Encodes a short string (less than or equal to 26 bytes) as a ScaleOut key.
- FromBytes(byte[])
Decodes an encoded string key returned from the ScaleOut service.
See Also
SetKeyEncoder(KeyEncoder<TKey>)