Sha256: 1aaad1587d2141cd65bf4026a49dd107d27a408b70c2e0951166c5704889ba69
Contents?: true
Size: 544 Bytes
Versions: 9
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true module Aws module Crt # High level Ruby abstractions for CRT Checksums functionality module Checksums def self.crc32(str, previous = 0) Aws::Crt::Native.crc32( FFI::MemoryPointer.from_string(str), str.size, previous ) end def self.crc32c(str, previous = 0) Aws::Crt::Native.crc32c( FFI::MemoryPointer.from_string(str), str.size, previous ) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems