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);

}