Operations on [u8]
copy_memory
- Copies data from one vector to another.eq
- Bytewise equalityge
- Bytewise greater than or equalgt
- Bytewise greater thanle
- Bytewise less than or equallt
- Bytewise less than or equalmemcmp
- Bytewise string comparisonne
- Bytewise inequalitycopy_memory
fn copy_memory(dst: &mut [u8], src: &const [u8], count: uint)
Copies data from one vector to another.
Copies count
bytes from src
to dst
. The source and destination may overlap.
eq
fn eq(a: &~[u8], b: &~[u8]) -> bool
Bytewise equality
ge
fn ge(a: &~[u8], b: &~[u8]) -> bool
Bytewise greater than or equal
gt
fn gt(a: &~[u8], b: &~[u8]) -> bool
Bytewise greater than
le
fn le(a: &~[u8], b: &~[u8]) -> bool
Bytewise less than or equal
lt
fn lt(a: &~[u8], b: &~[u8]) -> bool
Bytewise less than or equal
memcmp
fn memcmp(a: &~[u8], b: &~[u8]) -> int
Bytewise string comparison
ne
fn ne(a: &~[u8], b: &~[u8]) -> bool
Bytewise inequality