package metadata

  1. Overview
  2. Docs

Module Make.ID3v2Source

Sourcemodule R : sig ... end
Sourceval read_size : synch_safe:bool -> R.t -> int
Sourceval read_size_v2 : R.t -> int
Sourceval unterminate : int -> string -> string

Remove trailing nulls.

Sourceval next_substring : int -> ?offset:int -> string -> int

Find the index of the substring after the first null-terminated substring.

Sourceval normalize_id : string -> string
Sourceval make_recode : (?source:[ `ISO_8859_1 | `UTF_16 | `UTF_16BE | `UTF_16LE | `UTF_8 ] -> string -> string) option -> int -> string -> string
Sourceval parse : ?recode: (?source:[ `ISO_8859_1 | `UTF_16 | `UTF_16BE | `UTF_16LE | `UTF_8 ] -> string -> string) -> R.t -> (string * string) list

Parse ID3v2 tags.

Sourceval parse_file : ?recode: (?source:[ `ISO_8859_1 | `UTF_16 | `UTF_16BE | `UTF_16LE | `UTF_8 ] -> string -> string) -> string -> (string * string) list
Sourceval dump : R.t -> string

Dump ID3v2 header.

Sourceval dump_file : string -> string
Sourcetype apic = {
  1. mime : string;
  2. picture_type : int;
  3. description : string;
  4. data : string;
}

APIC data.

Sourcetype pic = {
  1. pic_format : string;
  2. pic_type : int;
  3. pic_description : string;
  4. pic_data : string;
}
Sourceval parse_apic : ?recode: (?source:[ `ISO_8859_1 | `UTF_16 | `UTF_16BE | `UTF_16LE | `UTF_8 ] -> string -> string) -> string -> apic

Parse APIC data.

Sourceval parse_pic : ?recode: (?source:[ `ISO_8859_1 | `UTF_16 | `UTF_16BE | `UTF_16LE | `UTF_8 ] -> string -> string) -> string -> pic
OCaml

Innovation. Community. Security.