make psopacketdata trait public

This commit is contained in:
jake 2019-12-03 21:40:59 -08:00
parent 174932f996
commit cae4fe01ba

View File

@ -19,7 +19,7 @@ pub enum PacketParseError {
ReadError,
}
trait PSOPacketData {
pub trait PSOPacketData {
//fn size(&self) -> usize;
fn from_bytes<R: Read + Seek>(cursor: &mut R) -> Result<Self, PacketParseError> where Self: Sized;
fn as_bytes(&self) -> Vec<u8>;