RedisClusterCRC16.getCRC16

Create a CRC16 checksum from the bytes. implementation is from mp911de/lettuce, modified with some more optimizations @param bytes @param s @param e @return CRC16 as integer value See <a href="https://github.com/xetorthio/redis/pull/733#issuecomment-55840331">Issue 733</a>

  1. int getCRC16(const(ubyte)[] bytes, size_t s, size_t e)
    class RedisClusterCRC16
    static
    int
    getCRC16
    (
    const(ubyte)[] bytes
    ,
    size_t s
    ,
    size_t e
    )
  2. int getCRC16(const(ubyte)[] bytes)
  3. int getCRC16(string key)

Meta