Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize directly into compression stream when making compressed result
- Loading branch information
1 parent
41eaaeb
commit 2ec3652
Showing
5 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
using System.IO; | ||
|
||
namespace ServiceStack.Caching | ||
{ | ||
public interface IDeflateProvider | ||
{ | ||
byte[] Deflate(string text); | ||
|
||
string Inflate(byte[] gzBuffer); | ||
|
||
Stream GetDeflateStream(Stream outputStream); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
using System.IO; | ||
|
||
namespace ServiceStack.Caching | ||
{ | ||
public interface IGZipProvider | ||
{ | ||
byte[] GZip(string text); | ||
|
||
string GUnzip(byte[] gzBuffer); | ||
|
||
Stream GetGZipCompressionStream(Stream outputStream); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters