Nothing
context("sort bytes that are stored as mixed endian")
origVec <- c(1:10)
origVec_num <- as.numeric(c(1:10))
test_that("raw to int", {
# Integer
nByteSize <- 4
rawVec <- writeBin(origVec, raw(), size = nByteSize, endian = "little")
byte_order <- c(3,2,0,1)
expect_equal(sortBytes(rawVec, byte_order), sortBytes1(rawVec, byte_order))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.