as_bytes {rlang}R Documentation

Coerce to a raw vector

Description

This currently only works with strings, and returns its hexadecimal representation.

Usage

as_bytes(x)

Arguments

x

A string.

Value

A raw vector of bytes.

Life cycle

Raw vector functions are experimental.


[Package rlang version 0.2.2 Index]