final boolean subjectDifferentFromPreviousTriple,
final boolean predicateDifferentFromPreviousTriple,
final boolean objectDifferentFromPreviousTriple,
final OutputStream out) throws IOException {
final BitVector bits = new BitVector(7);
bits.clear(0);
if (subjectDifferentFromPreviousTriple) {
bits.set(1);
} else {
bits.clear(1);
}