I’m reading the mongoose docs and saw this line of code:
const file2 = new Data({ binData: 72987 }); // {"type":"Buffer","data":[27]}
Can someone please explain how they get to [27] from 72987?
Thanks,
I’m reading the mongoose docs and saw this line of code:
const file2 = new Data({ binData: 72987 }); // {"type":"Buffer","data":[27]}
Can someone please explain how they get to [27] from 72987?
Thanks,