Operations on [u8]

Trait MutableByteVector

A trait for operations on mutable operations on [u8]

Method set_memory

fn set_memory(self, value: u8)

Sets all bytes of the receiver to the given value.

Implementation of MutableByteVector for &'self mut [u8] where <'self>

Method set_memory

fn set_memory(self, value: u8)

Function copy_memory

fn copy_memory(dst: &mut [u8], src: &[u8], count: uint)

Copies data from one vector to another.

Copies count bytes from src to dst. The source and destination may overlap.

Function eq

fn eq(a: &~[u8], b: &~[u8]) -> bool

Bytewise equality

Function ge

fn ge(a: &~[u8], b: &~[u8]) -> bool

Bytewise greater than or equal

Function gt

fn gt(a: &~[u8], b: &~[u8]) -> bool

Bytewise greater than

Function le

fn le(a: &~[u8], b: &~[u8]) -> bool

Bytewise less than or equal

Function lt

fn lt(a: &~[u8], b: &~[u8]) -> bool

Bytewise less than or equal

Function memcmp

fn memcmp(a: &~[u8], b: &~[u8]) -> int

Bytewise string comparison

Function ne

fn ne(a: &~[u8], b: &~[u8]) -> bool

Bytewise inequality