use crate::net::codec::data_type::DataType; pub struct PrefixedArray; // TODO: implement this in a sensible way impl DataType for PrefixedArray { type Value = u8; async fn read(stream: &mut R) -> anyhow::Result { Ok(0x00) } async fn write(stream: &mut R, value: Self::Value) -> anyhow::Result<()> { Ok(()) } }