public static Unpack ( Stream input, int size, int &read ) : byte[] | ||
input | Stream | /// Input stream. /// |
size | int | /// Data size. /// |
read | int | /// Bytes read. /// |
return | byte[] |
public static byte[] Unpack(Stream input, int size, out int read)
{
using(MemoryStream stream = new MemoryStream())
{
read = Unpack(input, stream, size);
return stream.ToArray();
}
}
IFFReader::Unpack ( Stream input, Stream output, int size ) : int |