pad_raw: 'pad_raw' adds null bytes to the end of a raw vector to give...

View source: R/pad_raw.R

pad_rawR Documentation

pad_raw adds null bytes to the end of a raw vector to give a vector of a specified size.

Description

pad_raw adds null bytes to the end of a raw vector to give a vector of a specified size.

Usage

pad_raw(x, n, size = 1L)

Arguments

x

A raw vector.

n

The total number of elements in the output vector.

size

The number of bytes taken up by each element.

Value

A raw vector of length n.


barefootbiology/heyexr documentation built on July 9, 2022, 3:35 a.m.