Some issues regarding the swiftinit site

How I can open the '0.bson.zz' file I downloaded, after I requested build

1 Like

hi Genaro,

the Unidoc symbol graphs available for download on Swiftinit are zlib-compressed files:

this is essentially the same as the Gzip archive format, except with slightly different headers. most libraries that support Gzip compression ought to also support Zlib compression, as they use the same underlying algorithm.

Unidoc (the software Swiftinit runs) uses the swift-png library’s LZ77 API to read the symbol graphs. the sample code under this thread may be of use to you:

the symbol graphs themselves store documentation in the BSON serialization format. i might be able to help you more if you provide more details about exactly what information you are interested in extracting from the symbol graphs.