fn deserialize<R: io::Read>(data: &mut R) -> StacksResult<Self>
	where
		Self: Sized,
	{
		Self::codec_deserialize(data)
			.map_err(|err| CodecError::IoError(err).into())
	}
Deserialize from a reader and return a StacksResult
stacks-core/src/codec.rs