package netsnmp

  1. Overview
  2. Docs
An interface to the Net-SNMP client library

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.12.0.tar.gz
sha256=94a73fdf5d051655b9c2357f73c436d6b9e9104254ce48b0c0e95267c9b3f322
md5=02ad13086ae11823525e20a2bc48409b

doc/netsnmp.raw/Netsnmp_raw/ASN1_Bitstring/index.html

Module Netsnmp_raw.ASN1_Bitstring

type t
val to_int_list : t -> int list

to_int_list converts a bitstring to a list of octet values

val to_hex_string : ?sep:string -> string -> string

to_hex_string converts a bitstring into a hex string with octet values separated by sep. sep defaults to space.

val to_bit_list : t -> int list

to_bit_list converts a bitstring to a list of set bits. The left most bit is 0

val to_string : t -> string

to_string converts a bitstring to a string in the format Hex-Bytes BITS(Numbers of each set bit). eg 99 CC BITS(0 3 4 7 8 9 12 13). The left most bit is bit 0.

OCaml

Innovation. Community. Security.