| 3 | using namespace Napi; |
| 4 | |
| 5 | static Value GetFloat32(const CallbackInfo& info) { |
| 6 | size_t byteOffset = info[1].As<Number>().Uint32Value(); |
| 7 | return Number::New(info.Env(), info[0].As<DataView>().GetFloat32(byteOffset)); |
| 8 | } |
| 9 | |
| 10 | static Value GetFloat64(const CallbackInfo& info) { |
| 11 | size_t byteOffset = info[1].As<Number>().Uint32Value(); |
nothing calls this directly
no test coverage detected