internal static GpFile Create(Stream stream, Version version) { Gp3InputStream inputStream = new Gp3InputStream(stream) { Version = version }; var header = inputStream.ReadHeader(version); var body = inputStream.ReadBody(header); return(new GpFile() { Header = header, Body = body }); }
internal static GpFile Create(Stream stream, Version version) { Gp3InputStream inputStream = new Gp3InputStream(stream) { Version = version }; var header = inputStream.ReadHeader(version); var body = inputStream.ReadBody(header); return new GpFile() { Header = header, Body = body }; }