for posterity, i'm going to update `Buffer.byteLength` to only call into c++ in those cases.