MCPcopy Create free account
hub / github.com/NativeScript/firebase / fromNative

Method fromNative

packages/firebase-firestore/index.ios.ts:1291–1298  ·  view source on GitHub ↗
(data: NSData)

Source from the content-addressed store, hash-verified

1289 _native: NSData;
1290
1291 static fromNative(data: NSData) {
1292 if (data instanceof NSData) {
1293 const nsData = new Bytes();
1294 nsData._native = data;
1295 return nsData;
1296 }
1297 return null;
1298 }
1299
1300 static fromBase64String(base64) {
1301 if (typeof base64 === 'string') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected