Class: Kafka::Crc32Hash
- Inherits:
- Object
- Object
- Kafka::Crc32Hash
- Defined in:
- lib/kafka/crc32_hash.rb
Instance Method Summary collapse
- #hash(value) ⇒ Object
- #load ⇒ Object
crc32 is supported natively.
Instance Method Details
#hash(value) ⇒ Object
11 12 13 | # File 'lib/kafka/crc32_hash.rb', line 11 def hash(value) Zlib.crc32(value) end |
#load ⇒ Object
crc32 is supported natively
9 | # File 'lib/kafka/crc32_hash.rb', line 9 def load; end |