Defines functions is.memFormat memFormat

Documented in memFormat

# A memFormat is a list of memBlock's  

is.memFormat <- function(x) {
    inherits(x, "memFormat")

memFormat <- function(...) {
    blocks <- list(...)
    if (!all(sapply(blocks, is.memBlock)))
        stop("Invalid format")

    class(blocks) <- "memFormat"

Try the hexView package in your browser

Any scripts or data that you put into this service are public.

hexView documentation built on May 2, 2019, 7:02 a.m.