Rather than do that with a byte array, make a MemoryStream then use CopyTo from the EntryStream. Then get the byte array from the memory stream.
For reading that text, you can use a StreamReader wrapping the EntryStream and call ReadToEnd on the reader.
EntryStreams are forward only reading. They don't know their length.
For reading that text, you can use a StreamReader wrapping the EntryStream and call ReadToEnd on the reader.
EntryStreams are forward only reading. They don't know their length.