public void copyBytesTo(byte[] dest, int destOffset) {
    Utils.checkIndex(destOffset, dest.length);
    dest[destOffset] = options;
  }
public void copyBytesTo ( byte [ ] dest , int destOffset ) { Utils . checkIndex ( destOffset , dest . length ) ; dest [ destOffset ] = options ; }
Copies the byte representations of the {@code TraceOptions} into the {@code dest} beginning at
the {@code destOffset} offset.

<p>Equivalent with (but faster because it avoids any new allocations):

<pre>{@code
System.arraycopy(getBytes(), 0, dest, destOffset, TraceOptions.SIZE);
}</pre>

@param dest the destination buffer.
@param destOffset the starting offset in the destination buffer.
@throws NullPointerException if {@code dest} is null.
@throws IndexOutOfBoundsException if {@code destOffset+TraceOptions.SIZE} is greater than
{@code dest.length}.
@since 0.5