package lzo

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module LzoSource

Bindings to LZO compression/decompression

Sourceexception Error of string

Unsafe

Two int parameters are offset and length of substring in the source string. No bounds checking is performed.

Sourceval unsafe_adler32 : string -> int -> int -> int32
Sourceval unsafe_compress : string -> int -> int -> string
Sourceval unsafe_decompress : string -> int -> int -> int -> string

Substrings

Two int parameters are offset and length of substring in the source string. Out of bounds access attempts will result in Invalid_argument exception.

Sourceval adler32_sub : string -> int -> int -> int32
Sourceval compress_sub : string -> int -> int -> string
Sourceval decompress_sub : string -> int -> int -> int -> string

Convenience

Sourceval adler32 : string -> int32
Sourceval compress : string -> string
Sourceval decompress : string -> int -> string