mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
[Bun.js] Add Bun.readFileBytes() to get a Uint8Array of the file's contents without copying.
This commit is contained in:
@@ -18,7 +18,7 @@ pub const struct_OpaqueJSPropertyNameArray = generic;
|
||||
pub const JSPropertyNameArrayRef = ?*struct_OpaqueJSPropertyNameArray;
|
||||
pub const struct_OpaqueJSPropertyNameAccumulator = generic;
|
||||
pub const JSPropertyNameAccumulatorRef = ?*struct_OpaqueJSPropertyNameAccumulator;
|
||||
pub const JSTypedArrayBytesDeallocator = ?fn (?*c_void, ?*c_void) callconv(.C) void;
|
||||
pub const JSTypedArrayBytesDeallocator = ?fn (*c_void, *c_void) callconv(.C) void;
|
||||
pub const OpaqueJSValue = generic;
|
||||
pub const JSValueRef = ?*OpaqueJSValue;
|
||||
pub const JSObjectRef = ?*OpaqueJSValue;
|
||||
|
||||
Reference in New Issue
Block a user