Edit

Share via


StringEncodedWriteVector.FlipBit(String, String) Method

Definition

toggle one of the bits in writeVector and return the new value.

public static bool FlipBit (ref string writeVector, string Replica);
static member FlipBit : string * string -> bool
Public Shared Function FlipBit (ByRef writeVector As String, Replica As String) As Boolean

Parameters

writeVector
String

The write vector in which we want to flip the bit

Replica
String

The replica for which we want to flip the bit

Returns

the state of the bit after flipping it

Applies to