This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Description
Please consider making the method Tuple::as_buffer(&self) -> Result<Vec<u8>, Error> public.
I would like to parse unknown tuples with RMP crate.
|
pub(crate) fn as_buffer(&self) -> Result<Vec<u8>, Error> { |
example:
let buf = tuple.as_buffer()?;
let value = rmpv::decode::read_value(&mut &buf[..])?;
debug!("{:?}", value);
Or maybe is it possible to return the type of field by the filed index?