Lines Matching defs:byteLength
458 const length = ops.byteLength(string);
468 // byteLength() may overestimate. That's a rare case, though.
503 const maxLength = obj.byteLength - byteOffset;
636 byteLength: byteLengthUtf8,
645 byteLength: (string) => string.length * 2,
654 byteLength: (string) => string.length * 2,
663 byteLength: (string) => string.length,
672 byteLength: (string) => string.length,
685 byteLength: (string) => base64ByteLength(string, string.length),
698 byteLength: (string) => base64ByteLength(string, string.length),
712 byteLength: (string) => string.length >>> 1,
773 function byteLength(string, encoding) {
776 return string.byteLength;
791 return ops.byteLength(string);
797 Buffer.byteLength = byteLength;
869 if (this.byteLength !== otherBuffer.byteLength)
872 return this.byteLength === 0 || _compare(this, otherBuffer) === 0;
975 byteOffset = dir ? 0 : (buffer.length || buffer.byteLength);