mirror of
https://github.com/NinjaCheetah/rustii.git
synced 2026-03-18 23:27:48 -04:00
Added content region parsing and content encryption/decryption
This commit is contained in:
@@ -119,7 +119,7 @@ impl Ticket {
|
||||
}
|
||||
|
||||
pub fn to_vec(&self) -> Result<Vec<u8>, std::io::Error> {
|
||||
let mut buf = Vec::new();
|
||||
let mut buf: Vec<u8> = Vec::new();
|
||||
buf.write_u32::<BigEndian>(self.signature_type)?;
|
||||
buf.write_all(&self.signature)?;
|
||||
buf.write_all(&self.padding1)?;
|
||||
|
||||
Reference in New Issue
Block a user