#36 protected getBufferSize in impl