use std::io::{Error, SeekFrom};
pub trait ObjStr {
fn seek(&mut self, pos: SeekFrom) -> Result<(), Error>;
fn read(&mut self) -> Result<Vec<u8>, Error>;
fn len(&mut self, contents: u8, objs: u8) -> Result<u64, Error>;
fn overwrite(&mut self, data: Vec<Vec<u8>>, objs: u8) -> Result<(), Error>;
fn append(&mut self, data: Vec<u8>) -> Result<(), Error>;
fn cut(&mut self) -> Result<(), Error>;
}