Sha256: b4f891ccb9c7e582219ad23cbac38ab68ffa899cb22b12784f6f0be874ab11e3

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

require 'zlib'
require 'ffi'

module Zlib
  extend FFI::Library
  ffi_lib 'z'
  
  attach_function :crc32_combine, [:ulong, :ulong, :ulong], :ulong
  attach_function :adler32_combine, [:ulong, :ulong, :ulong], :ulong
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zlib-crc32_combine-1.0.2 lib/zlib-crc32_combine.rb
zlib-crc32_combine-1.0.1 lib/zlib-crc32_combine.rb