It is case-dependent. You should check the protocol for each assay. Specific buffers are necessary for each assay. The buffer should ensure suitable extraction and preservation of the target substance. After finding the right buffer, you can find the protocol for buffer preparation in internet, textbooks, patents and ....