code: @Deprecated
    public static TraceOptions fromBytes(byte[] buffer) {
      Utils.checkNotNull(buffer, "buffer");
      Utils.checkArgument(
          buffer.length == SIZE, "Invalid size: expected %s, got %s", SIZE, buffer.length);
      return fromByte(buffer[0]);
    }
docs: Returns a {@code TraceOptions} built from a byte representation.
  
  <p>Equivalent with:
  
  <pre>{@code
  TraceOptions.fromBytes(buffer, 0);
  }</pre>
  
  @param buffer the representation of the {@code TraceOptions}.
  @return a {@code TraceOptions} whose representation is given by the {@code buffer} parameter.
  @throws NullPointerException if {@code buffer} is null.
  @throws IllegalArgumentException if {@code buffer.length} is not {@link TraceOptions#SIZE}.
  @since 0.5
  @deprecated use {@link #fromByte(byte)}.