diff options
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r-- | src/libutil/serialise.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index f12f02543..b229fc58c 100644 --- a/src/libutil/serialise.hh +++ b/src/libutil/serialise.hh @@ -50,12 +50,12 @@ struct Source { virtual ~Source() { } - /* Store exactly ‘len’ bytes in the buffer pointed to by ‘data’. + /* Store exactly 'len' bytes in the buffer pointed to by 'data'. It blocks until all the requested data is available, or throws an error if it is not going to be available. */ void operator () (unsigned char * data, size_t len); - /* Store up to ‘len’ in the buffer pointed to by ‘data’, and + /* Store up to 'len' in the buffer pointed to by 'data', and return the number of bytes stored. If blocks until at least one byte is available. */ virtual size_t read(unsigned char * data, size_t len) = 0; |