title: How to use RtlDecompressBuffer without knowing the size of the uncompressed data?
body: <p>I would like to use the WINAPI RtlDecompressBuffer in User Mode to decompress a buffer previously compressed using RtlCompressBuffer. I have the code for compression but it seems that in order to decompress I need to know the size of the uncompressed data as the function needs it as a parameter. </p>
  
  <p>How can I do this without knowing the size of the uncompressed data?
  Perhaps I should use RtlDecompressFragment.</p>
  
  <p>A code sample would be great!</p>
  
  <p>Thanks in advance.</p>