Learn R Programming

MALDIquantForeign (version 0.14.1)

.base64encode: Converts double to base64 character.

Description

This function converts a double vector to a base64 encoded character vector.

Usage

.base64encode(
  x,
  size,
  endian = .Platform$endian,
  compressionType = c("none", "gzip")
)

Value

Vector of type character.

Arguments

x

double, vector

size

integer, number of bytes per element in the byte stream (see size in writeBin).

endian

character, the endian-ness (see endian in writeBin).

compressionType

character, type of compression to use for compression of x (see type in memCompress.

Author

Sebastian Gibb mail@sebastiangibb.de

See Also

base64encode from base64enc package