internal static GpFile Create(Stream stream, Version version)
        {
            Gp4InputStream inputStream = new Gp4InputStream(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)
        {
            Gp4InputStream inputStream = new Gp4InputStream(stream)
                                             {
                                                 Version = version
                                             };

            var header = inputStream.ReadHeader(version);
            var body = inputStream.ReadBody(header);

            return new GpFile()
            {
                Header = header,
                Body = body
            };
        }