package flac

  1. Overview
  2. Docs
On This Page
  1. Types
  2. Functions
Legend:
Library
Module
Module type
Parameter
Class
Class type

Local file decoding.

Convenience module to * decode local files

Types

type file

File variant type for a file decoder

type handle = {
  1. fd : Unix.file_descr;
  2. dec : file t;
  3. callbacks : file callbacks;
  4. info : info;
  5. comments : (string * (string * string) list) option;
}

Functions

val create_from_fd : write -> Unix.file_descr -> handle

Create a file decoder from a Unix file * descriptor * * Note: this decoder requires seeking thus will only work on seekable * file descriptor.

val create : write -> string -> handle

Create a file decoder from a file URI

OCaml

Innovation. Community. Security.