MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / constructor

Method constructor

packages/core/ui/core/view/index.android.ts:418–421  ·  view source on GitHub ↗
(data: java.nio.ByteBuffer)

Source from the content-addressed store, hash-verified

416 private view: DataView;
417 private data: ArrayBuffer;
418 constructor(data: java.nio.ByteBuffer) {
419 this.data = (<any>ArrayBuffer).from(data);
420 this.view = new DataView(this.data);
421 }
422
423 public get left(): number {
424 return this.view.getInt32(INSET_LEFT, true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected