make psopacketdata trait public
This commit is contained in:
parent
174932f996
commit
cae4fe01ba
@ -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>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user