added buffer and bytearray to types covered by BytesConversion attribute
corrected replace parameter names