RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Public Member Functions | List of all members
rmscrypto::api::CachedBlock Class Reference

Public Member Functions

 CachedBlock (std::shared_ptr< SimpleProtectedStream >pSimple, uint64_t u64BlockSize)
 
uint64_t GetBlockSize ()
 
void UpdateBlock (uint64_t u64Position)
 
uint64_t ReadFromBlock (uint8_t *pbBuffer, uint64_t u64Position, uint64_t u64Size)
 
uint64_t WriteToBlock (const uint8_t *pbBuffer, uint64_t u64Position, uint64_t u64Size)
 
void RewriteFinalBlock (uint64_t newSize)
 
bool Flush ()
 
uint64_t GetSizeInternal () const
 
void SizeInternal (uint64_t u64Size)
 

The documentation for this class was generated from the following files: