Don't expose internal module
Use elemsB instead of getBufferContents

getBufferContents is getting removed upstream