Fix: missing const modifier in interface functions for buffer type