MCPcopy Create free account
hub / github.com/callstackincubator/polygen / isEmpty

Method isEmpty

packages/binary-utils/src/binary-reader.ts:43–45  ·  view source on GitHub ↗

* A boolean value indicating whether the reader has reached the end of the binary data.

()

Source from the content-addressed store, hash-verified

41 * A boolean value indicating whether the reader has reached the end of the binary data.
42 */
43 get isEmpty(): boolean {
44 return this.offset + 1 >= this.view.byteLength;
45 }
46
47 /**
48 * The current offset in the binary data.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected