Skip to content

StringEncodedWriteVector.FlipBit(string, string)

FlipBit(string, string)

static
View source
public static bool FlipBit(ref string writeVector, string Replica)
toggle one of the bits in writeVector and return the new value.

Parameters

writeVectorstring
The write vector in which we want to flip the bit
Replicastring
The replica for which we want to flip the bit

Returns

the state of the bit after flipping it