types for pointers and sfInputStream binding