blob

0th

Percentile

Construct a blob object

new_blob is a low-level constructor that takes a list of raw vectors. blob constructs a blob from individual raw vectors, and as.blob is a S3 generic that converts existing objects.

Usage
blob(...)

new_blob(x)

as.blob(x, ...)

Arguments
...

Individual raw vectors

x

A list of raw vectors, or other object to coerce

Aliases
  • blob
  • new_blob
  • as.blob
Examples
# NOT RUN {
x1 <- charToRaw("Good morning")
x2 <- as.raw(c(0x48, 0x65, 0x6c, 0x6c, 0x6f))

new_blob(list(x1, x2))
blob(x1, x2)

as.blob(c("Good morning", "Good evening"))
# }
Documentation reproduced from package blob, version 1.1.1, License: GPL-3

Community examples

Looks like there are no examples yet.