writeBinary() public static method

public static writeBinary ( object value ) : byte[]
value object
return byte[]
Exemplo n.º 1
0
 // Token: 0x0600010A RID: 266 RVA: 0x00006C44 File Offset: 0x00004E44
 public static void writeBinary(object value, Stream stream)
 {
     using (BinaryWriter binaryWriter = new BinaryWriter(stream))
     {
         binaryWriter.Write(Plist.writeBinary(value));
     }
 }
Exemplo n.º 2
0
 // Token: 0x06000109 RID: 265 RVA: 0x00006BFC File Offset: 0x00004DFC
 public static void writeBinary(object value, string path)
 {
     using (BinaryWriter binaryWriter = new BinaryWriter(new FileStream(path, FileMode.Create)))
     {
         binaryWriter.Write(Plist.writeBinary(value));
     }
 }