BrotliHaxe
BrotliHaxe copied to clipboard
BrotliHaxe - hand ported decoder & encoder in haxe => JavaScript, PHP, Python, Java, C# (Project dev: 2013-2015 release: 2017)
Compiling with the current compiler fails with the following messages ``` src/FunctionMalloc.hx:10: characters 3-30 : Warning : Structures with new are deprecated, use haxe.Constraints.Constructible instead src/FunctionMalloc.hx:14: characters 3-49 : Warning...
the PHP version fails reading the dictionary files with error "blocked" from input.class.php > readAll
The Java encoder was corrupting the decoded string with unicode replacement characters. We fixed this by changing the charset in Bytes.java to ISO-8859-1. https://github.com/dominikhlbg/BrotliHaxe/blob/master/java/src/haxe/io/Bytes.java#L54 Line 54 (BrotliHaxe/java/src/haxe/io/Bytes.js): ```java return new...
Important! This four files must be in the build dir: dictionary.txt DictionaryBuckets.txt DictionaryHash.txt DictionaryWords.txt Where to get from or how to make them?
Can you put the original C++ version you used for the porting in the repository? That way it would be easier to compare it with a newer version and backport...
Hello. Do you plan on submitting the output of the Java build to a maven server? If not, I can do it
Documentation could use some work. For Java it obviously doesn't work as described. Also would be great to get support for buffered streams. Good work so far!
If Bytes is used to hold and process bytes instead of vectors, much, much better performance can be achieved on every platform. https://api.haxe.org/haxe/io/Bytes.html https://api.haxe.org/haxe/io/BytesData.html