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.


[Package rlang version 0.1.1 Index]