FAIMS-694: updated input buffer to use string buffer