bitstream class with generic block type