Skip to content

Commit

Permalink
added examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Oct 4, 2016
1 parent 0d10515 commit 3f28408
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/base64.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
#' @return [\code{character}] of the same length as input \code{x}.
#' @useDynLib base64url b64e
#' @export
#' @examples
#' x = "plain text"
#' encoded = base64_urlencode(x)
#' decoded = base64_urldecode(encoded)
#' print(encoded)
#' print(decoded)
base64_urlencode = function(x) {
.Call(b64e, x)
}
Expand Down
7 changes: 7 additions & 0 deletions man/base64_urlencode.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f28408

Please sign in to comment.