simple-bytes 0.2.1

A small and easy crate to mutate or read u8 slices
Documentation
1
2
3
4
5
6
7
8
9
10
11

/// Sets the internal position for writing or reading.
pub trait BytesSeek {

	/// Returns the internal position.
	fn position(&self) -> usize;

	/// Sets the internal position.
	fn seek(&mut self, pos: usize);

}