OLD | NEW |
1 | 1 |
2 //********************************************************************* | 2 //********************************************************************* |
3 //* Base64 - a simple base64 encoder and decoder. | 3 //* Base64 - a simple base64 encoder and decoder. |
4 //* | 4 //* |
5 //* Copyright (c) 1999, Bob Withers - bwit@pobox.com | 5 //* Copyright (c) 1999, Bob Withers - bwit@pobox.com |
6 //* | 6 //* |
7 //* This code may be freely used for any purpose, either personal | 7 //* This code may be freely used for any purpose, either personal |
8 //* or commercial, provided the authors copyright notice remains | 8 //* or commercial, provided the authors copyright notice remains |
9 //* intact. | 9 //* intact. |
10 //* | 10 //* |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 if ((DO_TERM_BUFFER == term_flags) && (dpos != len)) { | 269 if ((DO_TERM_BUFFER == term_flags) && (dpos != len)) { |
270 success = false; // unused chars | 270 success = false; // unused chars |
271 } | 271 } |
272 if (data_used) { | 272 if (data_used) { |
273 *data_used = dpos; | 273 *data_used = dpos; |
274 } | 274 } |
275 return success; | 275 return success; |
276 } | 276 } |
277 | 277 |
278 } // namespace rtc | 278 } // namespace rtc |
OLD | NEW |