{
// this piece of code handles the case that a stream has been
// opened on the bit value. the stream will have already called
// readExternal() on the underlying FormatableBitSet. we just need to
// retrieve the byte array from that stream.
NewByteArrayInputStream nbais = (NewByteArrayInputStream) stream;
dataValue = nbais.getData();
}
else {
readExternal(new FormatIdInputStream(stream));
}
stream = null;