1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-18 10:46:04 +00:00
Files
ubf/doc/contracts_abnf.md
Joseph Wayne Norton 39468d05e2 Update docs
2013-03-26 12:41:39 +09:00

1.3 KiB

Module contracts_abnf

Contract checking assistants for ABNF.

.

Function Index

check_binary/4

Parse (and validate) the given binary against abnf contract types. It is straightforward to extend this implementation to return the parsed abnf types stack for parsed (and invalid) binaries. The abnf types with sub-binary annotations could then be used by other applications that need the abnf bits. However, this feature is beyond the current scope and goals of this package.

.

Function Details

check_binary/4

check_binary(Check, X, Level, Mod) -> any()

Parse (and validate) the given binary against abnf contract types. It is straightforward to extend this implementation to return the parsed abnf types stack for parsed (and invalid) binaries. The abnf types with sub-binary annotations could then be used by other applications that need the abnf bits. However, this feature is beyond the current scope and goals of this package.