deserialize.esm.js
function __deserializeObjectId(buffer, start, options) {
	let step = 1;
	let length = 12;
	let end = start + length;
	let dataView = new DataView(buffer);
	let dataArray = [];
	for (let i = start; i < end; i += step) {
		dataArray.push(dataView.getUint8(i));
	}
	let data = new ObjectId(Uint8Array.from(dataArray).buffer);
	return { anchor: end, value: data };
}
function __deserializeObjectId(buffer, start, options) {
	let step = 1;
	let length = 12;
	let end = start + length;
	let dataView = new DataView(buffer);
	let dataArray = [];
	for (let i = start; i < end; i += step) {
		dataArray.push(dataView.getUint8(i));
	}
	let data = new ObjectId(Uint8Array.from(dataArray).buffer);
	return { anchor: end, value: data };
}
function __deserializeObjectId ( buffer , start , options ) { let step = 1 ; let length = 12 ; let end = start + length ; let dataView = new DataView ( buffer ) ; let dataArray = [ ] ; for ( let i = start ; i < end ; i += step ) { dataArray . push ( dataView . getUint8 ( i ) ) ; } let data = new ObjectId ( Uint8Array . from ( dataArray ) . buffer ) ; return { anchor : end , value : data } ; }
Deserialize ObjectId data
@param {ArrayBuffer} buffer
@param {number} start - byteOffset
@param {DeserializeOptions} options
@returns {{anchor: number, value: ObjectId}} anchor: byteOffset
@private
Deserialize ObjectId data