diff options
author | Chris Johns <chrisj@rtems.org> | 2013-01-22 22:08:09 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-01-22 22:08:09 +1100 |
commit | bd7b0a60704a0bda4b3309192eb3c67a3190a133 (patch) | |
tree | 4e474cd1f0dcc1997fbcff5ca6a5ba239b7cb1c8 /rld-compression.h | |
parent | 6f90da8fa3bbfeb638306b60e28dd9d7923cdf3c (diff) |
Documentation.
Diffstat (limited to 'rld-compression.h')
-rw-r--r-- | rld-compression.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/rld-compression.h b/rld-compression.h index 9f06e0d..4710845 100644 --- a/rld-compression.h +++ b/rld-compression.h @@ -86,42 +86,47 @@ namespace rld * * @param data Write the decompressed data here. * @param length The mount of data in bytes to read. + * @return size_t The amount of data read. */ size_t read (void* data, size_t length); /** * Read the decompressed data writing it to the image. * - * @param output The output image. + * @param output_ The output image. * @param offset The output image offset to write from. * @param length The mount of data in bytes to read. + * @return size_t The amount of data read. */ size_t read (files::image& output_, off_t offset, size_t length); /** * Read the decompressed data writing it to the image. * - * @param output The output image. + * @param output_ The output image. * @param length The mount of data in bytes to read. + * @return size_t The amount of data read. */ size_t read (files::image& output_, size_t length); /** * The amount of uncompressed data transferred. * - * @param return size_t The amount of data tranferred. + * @return size_t The amount of data tranferred. */ size_t transferred () const; /** * The amount of compressed data transferred. * - * @param return size_t The amount of compressed data tranferred. + * @return size_t The amount of compressed data tranferred. */ size_t compressed () const; /** * The current offset in the stream. + * + * @return off_t The current uncompressed offset. */ off_t offset () const; |