Why would you prefer to make it yourself? The point of programming is to write less code, not more. I could understand wanting to learn how they work, but if you intend to actually use it in your code, you should use a more well-tested and expertly designed existing library rather than something you made yourself and think might work. I wouldn't even trust myself to create a working circular buffer.
Well, I want to make it myself for my project. I have installed the btw, but I would still make it myself, but the internet is so empty on this subject.