marked byte-buffer function to be private