use buffer to read sourcemap comment