function forceUint8(value) {
  uint8ForceArray[0] = value;
  return uint8ForceArray[0];
}
Encodes a normalized vector into 2 SNORM values in the range of [0-255] following the 'oct' encoding.

@param {Cartesian3} vector The normalized vector to be compressed into 2 byte 'oct' encoding.
@param {Cartesian2} result The 2 byte oct-encoded unit length vector.
@returns {Cartesian2} The 2 byte oct-encoded unit length vector.

@exception {DeveloperError} vector must be normalized.

@see AttributeCompression.octEncodeInRange
@see AttributeCompression.octDecode