Skip to content

casperbiering/dotnet-binary-xml

Repository files navigation

dotnet-binary-xml

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

About

Parsing and writing of .NET Binary Format in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages