Convert the given type to a raw vector
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | raw_to_raw(raw_vec, ...)
raw_to_bit(raw_vec, first_bit = c("msb", "lsb"), ...)
raw_to_logical(raw_vec, first_bit = c("msb", "lsb"), ...)
raw_to_bitstring(raw_vec, first_bit = c("msb", "lsb"), ...)
bit_to_raw(bit_vec, first_bit = c("msb", "lsb"), pad = c("right",
"left"), ...)
logical_to_raw(logical_vec, first_bit = c("msb", "lsb"),
pad = c("right", "left"), ...)
bitstring_to_raw(bitstring, first_bit = c("msb", "lsb"),
pad = c("right", "left"), ...)
bit_to_bitstring(bit_vec, ...)
bit_to_logical(bit_vec, ...)
bitstring_to_bit(bitstring, ...)
bitstring_to_logical(bitstring, ...)
logical_to_bit(logical_vec, ...)
logical_to_bitstring(logical_vec, ...)
raw_to_uint8(raw_vec, ...)
raw_to_int8(raw_vec, ...)
raw_to_hex8(raw_vec, ...)
raw_to_chr(raw_vec, ...)
raw_to_utf8(raw_vec, ...)
uint8_to_raw(uint8_vec, ...)
int8_to_raw(int8_vec, ...)
hex8_to_raw(hex8_vec, ...)
chr_to_raw(chr_vec, ...)
utf8_to_raw(utf8_vec, ...)
raw_to_uint16(raw_vec, endian = c("little", "big"), ...)
raw_to_int16(raw_vec, endian = c("little", "big"), ...)
raw_to_hex16(raw_vec, endian = c("little", "big"), ...)
uint16_to_raw(uint16_vec, endian = c("little", "big"), ...)
int16_to_raw(int16_vec, endian = c("little", "big"), ...)
hex16_to_raw(hex16_vec, endian = c("little", "big"), ...)
raw_to_uint24(raw_vec, endian = c("little", "big"), ...)
raw_to_hex24(raw_vec, endian = c("little", "big"), ...)
uint24_to_raw(uint24_vec, endian = c("little", "big"), ...)
hex24_to_raw(hex24_vec, endian = c("little", "big"), ...)
bit_to_int32(bit_vec, endian = c("little", "big"), first_bit = c("msb",
"lsb"), pad = c("right", "left"), ...)
bitstring_to_int32(bitstring, endian = c("little", "big"),
first_bit = c("msb", "lsb"), pad = c("right", "left"), ...)
logical_to_int32(logical_vec, endian = c("little", "big"),
first_bit = c("msb", "lsb"), pad = c("right", "left"), ...)
raw_to_int32(raw_vec, endian = c("little", "big"), ...)
int32_to_bit(int32_vec, endian = c("little", "big"),
first_bit = c("msb", "lsb"), ...)
int32_to_bitstring(int32_vec, endian = c("little", "big"),
first_bit = c("msb", "lsb"), ...)
int32_to_logical(int32_vec, endian = c("little", "big"),
first_bit = c("msb", "lsb"), ...)
int32_to_raw(int32_vec, endian = c("little", "big"), ...)
|
raw_vec |
vector of raw bytes |
... |
extra args passed through to core functions |
first_bit |
'msb' or 'lsb'. default: 'msb' |
bit_vec, bitstring, logical_vec |
vector of bit/logical type |
pad |
'left' or 'right'. default: 'right' |
uint8_vec, uint16_vec, uint24_vec |
vector of unsigned integer type |
int8_vec, int16_vec, int32_vec |
vector of signed integer type |
hex8_vec, hex16_vec, hex24_vec |
vector of hex representation type |
chr_vec, utf8_vec |
vector of character type |
endian |
'little' or 'big'. default: 'little' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.