Click here to Skip to main content
15,913,159 members
Home / Discussions / C#
   

C#

 
AnswerRe: Passing a Form or Controls .Controls collection Pin
Colin Angus Mackay28-Sep-07 15:21
Colin Angus Mackay28-Sep-07 15:21 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 15:26
JoeRip28-Sep-07 15:26 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 15:39
JoeRip28-Sep-07 15:39 
AnswerRe: Passing a Form or Controls .Controls collection Pin
George L. Jackson28-Sep-07 15:38
George L. Jackson28-Sep-07 15:38 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 15:40
JoeRip28-Sep-07 15:40 
GeneralRe: Passing a Form or Controls .Controls collection Pin
George L. Jackson28-Sep-07 15:58
George L. Jackson28-Sep-07 15:58 
GeneralRe: Passing a Form or Controls .Controls collection Pin
JoeRip28-Sep-07 16:03
JoeRip28-Sep-07 16:03 
QuestionThree Problems requires help! Pin
Smashing_Blizzard28-Sep-07 10:55
Smashing_Blizzard28-Sep-07 10:55 
AnswerRe: Three Problems requires help! Pin
PIEBALDconsult28-Sep-07 11:37
mvePIEBALDconsult28-Sep-07 11:37 
JokeRe: Three Problems requires help! Pin
TJoe28-Sep-07 12:51
TJoe28-Sep-07 12:51 
GeneralRe: Three Problems requires help! Pin
PIEBALDconsult28-Sep-07 13:44
mvePIEBALDconsult28-Sep-07 13:44 
GeneralRe: Three Problems requires help! Pin
Smashing_Blizzard29-Sep-07 8:49
Smashing_Blizzard29-Sep-07 8:49 
GeneralRe: Three Problems requires help! Pin
PIEBALDconsult29-Sep-07 14:33
mvePIEBALDconsult29-Sep-07 14:33 
GeneralRe: Three Problems requires help! Pin
Smashing_Blizzard30-Sep-07 8:04
Smashing_Blizzard30-Sep-07 8:04 
GeneralRe: Three Problems requires help! Pin
PIEBALDconsult30-Sep-07 10:27
mvePIEBALDconsult30-Sep-07 10:27 
GeneralRe: Three Problems requires help! Pin
Smashing_Blizzard1-Oct-07 9:21
Smashing_Blizzard1-Oct-07 9:21 
GeneralRe: Three Problems requires help! Pin
PIEBALDconsult1-Oct-07 13:13
mvePIEBALDconsult1-Oct-07 13:13 
QuestionDataset generation bug Pin
MIHAI_MTZ28-Sep-07 10:36
MIHAI_MTZ28-Sep-07 10:36 
QuestionZlib Pin
Xmen Real 28-Sep-07 6:49
professional Xmen Real 28-Sep-07 6:49 
hi there,
i m making an app that need to decompress Zlip file from File data in byte[] in a specified format
i.e.

char {4} - Header (l33t)
uint32 {4} - Decompressed File Size
byte {X} - ZLib Compressed File Data

// WHEN DECOMPRESSED
char {2} - Header (BG)
uint32 {4} - Archive Size [+8]
byte {X} - Unknown

to read this file, i created a binary reader and read what i can but i m unable to decompress it

the codes to read :
BinaryReader br = new BinaryReader(File.Open(@"C:\Documents and Settings\xmen\Desktop\g.age3scn", FileMode.Open));
            string header = new string(br.ReadChars(4));
            int filesize = br.ReadInt32();
            byte[] filedata = br.ReadBytes(filesize);


can someone tell me how can i decompress it?

Becoming Programmer...

AnswerRe: Zlib Pin
Scott Dorman28-Sep-07 7:14
professionalScott Dorman28-Sep-07 7:14 
GeneralRe: Zlib Pin
led mike28-Sep-07 7:32
led mike28-Sep-07 7:32 
GeneralRe: Zlib Pin
Scott Dorman28-Sep-07 7:33
professionalScott Dorman28-Sep-07 7:33 
GeneralRe: Zlib Pin
Luc Pattyn28-Sep-07 11:56
sitebuilderLuc Pattyn28-Sep-07 11:56 
GeneralRe: Zlib Pin
Xmen Real 28-Sep-07 14:05
professional Xmen Real 28-Sep-07 14:05 
GeneralRe: Zlib Pin
Scott Dorman28-Sep-07 17:31
professionalScott Dorman28-Sep-07 17:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.