// make sure we have a list of binary data
// BytesInputStream expects that the LIST_BEGIN has been read
Object first = data.read();
if (first != ControlBlock.LIST_BEGIN)
{
throw new InvalidInputValueException(INPUT_DATA, first);
}
BytesInputStream bytes = new BytesInputStream(INPUT_DATA, data);
STypeInputStream input = new STypeInputStream(bytes);