{"version":"1.0","type":"rich","title":"sample TPIE filestream test","description":"This example demonstrates the basic file-stream operations of the TPIE library through a small C++ program. It writes ten 3D segment structs to a file, copies that file to a second stream, and then reads the copy back, printing each item’s coordinates and the stream size. The code initializes TPIE’s memory manager and stream subsystems, sets a 50 MB memory limit, and uses `tpie::file_stream` with `write`, `read`, and `can_read` methods for sequential I/O. The output shows the original and copied data in text form.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-238ce9ecb7ed7cfb072a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}