Sha256: e355bcfebce6037d6cf8a7f976ac33da3f953ffd25f67e33826083b19bbf234a

Contents?: true

Size: 940 Bytes

Versions: 11

Compression:

Stored size: 940 Bytes

Contents

module LibMsPack
    module MsOab
        class MsoabCompressor < FFI::Struct
            layout({
                :compress => callback([ :pointer, :string, :string ], :int),
                :compress_incremental => callback([ :pointer, :string, :string, :string ], :int)
            })

            def compress
                self[:compress]
            end

            def compress_incremental
                self[:compress_incremental]
            end

        end

        class MsoabDecompressor < FFI::Struct
            layout({
                :decompress => callback([ :pointer, :string, :string ], :int),
                :decompress_incremental => callback([ :pointer, :string, :string, :string ], :int)
            })

            def decompress
                self[:decompress]
            end

            def decompress_incremental
                self[:decompress_incremental]
            end

        end

    end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
libmspack-0.11.0 lib/libmspack/msoab.rb
libmspack-0.10.1.2 lib/libmspack/msoab.rb
libmspack-0.10.1 lib/libmspack/msoab.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/libmspack-0.1.0/lib/libmspack/msoab.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/libmspack-0.1.0/lib/libmspack/msoab.rb
libmspack-0.1.0 lib/libmspack/msoab.rb
libmspack-0.0.5 lib/libmspack/msoab.rb
libmspack-0.0.4 lib/libmspack/msoab.rb
libmspack-0.0.3 lib/libmspack/msoab.rb
libmspack-0.0.2 lib/libmspack/msoab.rb
libmspack-0.0.1 lib/libmspack/msoab.rb