// hacky fix for overlapping declaration of Buffer in node and browser. // this is required since Noble, the BLE module, is imported during runtime // and uses the browser's Buffer in an internal comparison for passed values. let buffer; if (window && window['Buffer']) { buffer = window['Buffer']; } else { buffer = Buffer; } export const BrowserBuffer = buffer;