compare

abstract fun compare(target: PolyglotValue, targetStart: Int? = null, targetEnd: Int? = null, sourceStart: Int? = null, sourceEnd: Int? = null): Int

Compare this buffer with either another buffer instance or a Uint8Array, optionally using only delimited segments of both values.