| 38 | } |
| 39 | |
| 40 | static Value GetUint32(const CallbackInfo& info) { |
| 41 | size_t byteOffset = info[1].As<Number>().Uint32Value(); |
| 42 | return Number::New(info.Env(), info[0].As<DataView>().GetUint32(byteOffset)); |
| 43 | } |
| 44 | |
| 45 | static void SetFloat32(const CallbackInfo& info) { |
| 46 | size_t byteOffset = info[1].As<Number>().Uint32Value(); |