makeRaw: Create a raw object

Description Usage Arguments Value Author(s) Examples

View source: R/hmac.R

Description

A helper function used to create raw methods.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
makeRaw(object)

## S3 method for class 'raw'
makeRaw(object)

## S3 method for class 'character'
makeRaw(object)

## S3 method for class 'digest'
makeRaw(object)

## S3 method for class 'raw'
makeRaw(object)

Arguments

object

The object to convert into a raw vector

Value

A raw vector is returned.

Author(s)

Dirk Eddelbuettel

Examples

1
makeRaw("1234567890ABCDE")

Example output

 [1] 31 32 33 34 35 36 37 38 39 30 41 42 43 44 45

digest documentation built on Dec. 11, 2021, 9:43 a.m.