Stream to Sbyte[]

This is a discussion on Stream to Sbyte[] within the C# Programming forums, part of the General Programming Boards category; Hi,
I'm trying a stream to sbyte conversion as follows:
Code:
private SByte[] streamToSbyte(Stream stream)
{
sbyte[] sbuffer = new ...

If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

I've tried that but the main problem with it is that I cannot name the zipped file using that class.What I mean is say I want to zip abc.txt , this deflatestream class will create one abc.zip but when I extract it I dont get a file named abc.txt within it ...