@Nonnull
	public static BufferedReader toBufferedReader(Reader reader, char[] buf) {
		if (reader instanceof BufferedReader) {
			return (BufferedReader) reader;
		}
		BufferedReader br = new BufferedReader(reader, 1);
		UnsafeIO.setReaderBuffer(br, buf);
		return br;
	}
Creates {@link BufferedReader} from {@link Reader}.

@param reader
		Reader to buffer.
@param buf
		Buffer that is used to hold data.

@return buffered reader.
recaf-core/src/main/java/software/coley/recaf/util/IOUtil.java