https://github.com/barionlp/ametrin.plist
https://github.com/barionlp/ametrin.plist
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/barionlp/ametrin.plist
- Owner: BarionLP
- License: mit
- Created: 2025-06-02T19:35:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-01T11:40:56.000Z (3 months ago)
- Last Synced: 2026-04-01T13:30:22.451Z (3 months ago)
- Language: C#
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ametrin.Plist
A fast and efficient binary property list (plist) reader written in .NET.
## how to use
```cs
// data can be a Stream or ImmutableArray
var document = PlistReader.ToDocument(data);
var root = document.GetRoot();
var dictionary = root.GetDictionary();
var val1 = dictionary["val1"].GetInt32();
var val2 = dictionary["val2"].GetBoolean();
var array = dictionary["array"].GetArray();
var i0 = array[0].GetUInt64();
var i1 = array[1].GetDouble();
```