Castle Game Engine guide details stream I/O and generics container usage
The Castle Game Engine documentation outlines how developers should handle file and stream input/output, recommending the TCastleTextReader class for reading text and the Download function for retrieving data from URLs, local files, HTTP/HTTPS, Android assets, and game data directories via castle-data:/ URLs. It also covers container options in Object Pascal, noting three generics libraries available in FPC—Generics.Collections, FGL, and GVector—and recommending Generics.Collections for its efficiency, feature set, and compatibility with Delphi.