Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as_bytes

Coerce to a raw vector


Description

Experimental lifecycle

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.


rlang

Functions for Base Types and Core R and 'Tidyverse' Features

v0.4.11
MIT + file LICENSE
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], mikefc [cph] (Hash implementation based on Mike's xxhashlite), Yann Collet [cph] (Author of the embedded xxHash library), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.