Changeset 652 for trunk/src2


Ignore:
Timestamp:
Mar 30, 2007 2:23:39 PM (17 years ago)
Author:
dkearney
Message:

adding @@RP-ENC back to the encoded string so we can better tell how we changed the data
added the zb64 flag
updated buffer code to better handle the case when encode and decode are called,
but the user does not specify what they want done, now the default is to do nothing
instead of erasing the data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src2/core/RpBuffer.cc

    r621 r652  
    627627    SimpleBuffer bout;
    628628
     629    if ((base64 == 0) && (compress == 0)) {
     630        return err;
     631    }
     632
    629633    err.addContext("Rappture::Buffer::encode()");
    630 
    631634    rewind();
    632635
     
    664667    SimpleBuffer bout;
    665668
     669    if ((base64 == 0) && (decompress == 0)) {
     670        return err;
     671    }
     672
     673    err.addContext("Rappture::Buffer::decode()");
    666674    rewind();
    667675
Note: See TracChangeset for help on using the changeset viewer.