| 88 | } |
| 89 | |
| 90 | int fxBundleIs(const char *buffer, size_t size) |
| 91 | { |
| 92 | return (size >= kBundleMarkerPrefixLen) && |
| 93 | (0 == memcmp(buffer, kBundleMarkerPrefix, kBundleMarkerPrefixLen)); |
| 94 | } |
| 95 | |
| 96 | // Find the next start-of-line marker at or after `from`. `bufStart` is the |
| 97 | // origin of the buffer, used to check "start of line" at position `from`. |