add struct for localheader
This commit is contained in:
parent
bea2b9ffc0
commit
0794aac016
3 changed files with 214 additions and 6 deletions
|
|
@ -1,14 +1,9 @@
|
|||
use std::io::{SeekFrom, Write};
|
||||
|
||||
use crate::extra_fields::{ExtraField, GenericExtraField, Zip64ExtraField};
|
||||
use crate::{cp437, Signature};
|
||||
use crate::{cp437, Encoding, Signature};
|
||||
use androscalpel_serializer::{ReadSeek, Result, Serializable};
|
||||
|
||||
pub enum Encoding {
|
||||
CP437,
|
||||
UTF8,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct FileHeader {
|
||||
// signature: Signature(0x02014b50)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue