bytes: Split a utf-8 encoded string into bytes

Description Usage Arguments Value Examples

View source: R/bits.R

Description

Split a utf-8 encoded string into bytes

Usage

1
bytes(s)

Arguments

s

a utf-8 encoded string

Value

a tibble (with extra class "tbl_bytes") with columns - id : index of the byte - byte: hex representation of the byte - decimal: decimal reprsentation of the byte - binary: binary representation of the byte

Examples

1
bytes( "hello" )

ThinkRstat/utf8splain documentation built on Aug. 30, 2017, 7:27 p.m.