package zbar

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

Type of a symbol structure (zbar_symbol_t *).

type symbology = [
  1. | `None
  2. | `Partial
  3. | `Ean2
  4. | `Ean5
  5. | `Ean8
  6. | `Upce
  7. | `Isbn10
  8. | `Upca
  9. | `Ean13
  10. | `Composite
  11. | `I25
  12. | `Databar
  13. | `Databar_exp
  14. | `Codabar
  15. | `Code39
  16. | `Pdf417
  17. | `Qrcode
  18. | `Code93
  19. | `Code128
]

Type of symbols recognized by ZBar.

val get_data : t -> string

get_data s is the string encoded in s.

val get_type : t -> symbology

get_type s is the encoding used in s.