try { Buffer = global.Buffer || require("buffer").Buffer; } catch (noBuffer) {}