public static byte[] ToByteArray(Adohope.Shared.PList.DynamicPList x) { //todo: Move this logic to PList class MemoryStream ms = new MemoryStream(); PListUtils.Save(ms, x.RootNode, PListNet.PListFormat.Binary); return(ms.ToArray()); }
public DynamicPList(byte[] buffer) { RootNode = PListUtils.Load(buffer); }
public DynamicPList(string filePath) { RootNode = PListUtils.Load(filePath); }
public DynamicPList(Stream stream) { RootNode = PListUtils.Load(stream); }