mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 10:39:50 +08:00
seek & read RAM Bundle
Summary: For RAM bundling we don't want to hold the entire bundle in memory as that approach doesn't scale. Instead we want to seek and read individual sections as they're required. This rev does that by detecting the type of bundle we're dealing with by reading the first 4 bytes of it. If we're dealing with a RAM Bundle we bail loading. Reviewed By: javache Differential Revision: D3026205 fb-gh-sync-id: dc4c745d6f00aa7241203899e5ba136915efa6fe shipit-source-id: dc4c745d6f00aa7241203899e5ba136915efa6fe
This commit is contained in:
committed by
Facebook Github Bot 9
parent
4c7c365623
commit
dd2415df73
@@ -11,6 +11,8 @@
|
||||
|
||||
#import "RCTBridgeDelegate.h"
|
||||
|
||||
extern uint32_t const RCTRAMBundleMagicNumber;
|
||||
|
||||
@class RCTBridge;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user