Module: Aws::Crt::Checksums
- Defined in:
- lib/aws-crt/checksums/crc.rb
Overview
High level Ruby abstractions for CRT Checksums functionality
Class Method Summary collapse
- .crc32(str, previous = 0) ⇒ Object
- .crc32c(str, previous = 0) ⇒ Object
- .crc64nvme(str, previous = 0) ⇒ Object
Class Method Details
.crc32(str, previous = 0) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/aws-crt/checksums/crc.rb', line 7 def self.crc32(str, previous = 0) Aws::Crt::Native.crc32( FFI::MemoryPointer.from_string(str), str.size, previous ) end |