Operations on [u8]
cmp
- Bytewise string comparisoneq
- Bytewise equalityge
- Bytewise greater than or equalgt
- Bytewise greater thanle
- Bytewise less than or equallt
- Bytewise less than or equalmemcpy
- Copies data from one vector to another.memmove
- Copies data from one vector to another.ne
- Bytewise inequalitycmp
fn cmp(a: &~[u8], b: &~[u8]) -> int
Bytewise string comparison
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
memcpy
fn memcpy(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 not overlap.
memmove
fn memmove(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.
ne
fn ne(a: &~[u8], b: &~[u8]) -> bool
Bytewise inequality