Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
C# .NET Hacer que GZipStream sea parte de otra secuencia (grande)

Entonces quiero descomprimir algunos datos almacenados en un archivo. La solución que estoy usando actualmente se ve más o menos así:

 FileStream fileStream = new FileStream([File path or whatever]) BinaryReader brStream = new BinaryReader(fileStream) brStream.BaseStream.Position = [Address of the data I want] byte[] relevantBytes = brStream.readBytes([Length of the data I want]) MemoryStream memoryStream = new MemoryStream(relevantBytes) GZipStream gZipStream = new GZipStream(memoryStream, CompressionMode.Decompress)

Pero el problema surge cuando los datos que estoy comprimiendo/descomprimiendo son grandes. No quiero todo eso en la memoria. Preferiría darle a GZipStream un FileStream con un índice inicial y una longitud. ¿Cómo puedo hacer eso?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!