casperbiering/dotnet-binary-xml

Parsing and writing of .NET Binary Format

v2.0.0 2022-08-29 14:34 UTC

This package is auto-updated.

Last update: 2024-04-29 02:59:26 UTC


README

Build Status

dotnet-binary-xml is a PHP implementation of the .NET Binary Format: XML Data Structure (MC-NBFX).

Installation

Just install Composer and run composer require casperbiering/dotnet-binary-xml in your project directory.

Requirements

  • XMLReader (PHP extension)
  • XMLWriter (PHP extension)
  • MBString (PHP extension)
  • GMP (PHP extension)

Known/Missing Issues

  • encoded output is not optimized
  • local timezone offset in datetime

Specification Inconsistencies

  • Spec says that "If the hour, minutes, seconds, and fraction of second parts are zero, the date MUST be interpreted as the following characters. yyyy-MM-dd". That does not match the examples.

  • Spec says that UnicodeChars32TextRecord MUST be encoded using MultiByteInt31. That does not match the examples.

License

MIT