package orsetto

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

Include this module to include operations single-octet types.

val lds8 : string -> int -> int

Use lds8 s i to get the signed 8-bit integer at i in s.

val ldu8 : string -> int -> int

Use ldu8 s i to get the unsigned 8-bit integer at i in s.

val sts8 : int -> bytes -> int -> unit

Use sts8 n b i to set the octet at i in b to n. The prodedure is not defined for integers -128 <= n <= 127.

val stu8 : int -> bytes -> int -> unit

Use sts8 n b i to set the octet at i in b to n. The prodedure is not defined for integers 0 <= n <= 255.