Modularized linked_buffer to make it easier to integrate w/ the existing code base