C# support #153

Open
opened 2026-01-29 20:38:56 +00:00 by claunia · 10 comments
Owner

Originally created by @prepare on GitHub (Jan 6, 2017).

  • Do you intend to have official C# implementation, similar to Java ?
  • Are there any C# devs that plan to port to C# here?,

  • transpile (pure) Java decoder to C#
  • automate transpilation
  • create NuGet package + wrapper for managed languages
Originally created by @prepare on GitHub (Jan 6, 2017). - Do you intend to have official C# implementation, similar to Java ? - Are there any C# devs that plan to port to C# here?, ---- - [x] transpile (pure) Java decoder to C# - [ ] automate transpilation - [ ] create NuGet package + wrapper for managed languages
Author
Owner

@prepare commented on GitHub (Jan 6, 2017):

@McNeight,
Do you have a plan to implement this?

@prepare commented on GitHub (Jan 6, 2017): @McNeight, Do you have a plan to implement this?
Author
Owner

@RehanSaeed commented on GitHub (Feb 28, 2017):

Now that there is a Java port, it should be fairly simple to build a .NET Core port.

@RehanSaeed commented on GitHub (Feb 28, 2017): Now that there is a Java port, it should be fairly simple to build a .NET Core port.
Author
Owner

@eustas commented on GitHub (Mar 3, 2017):

#519

@eustas commented on GitHub (Mar 3, 2017): #519
Author
Owner

@eustas commented on GitHub (Mar 3, 2017):

Tried sharpen. Almost succeeded:

  • BitReader has problems with nio, as expected
  • InputStream is unexpectedly unknown to sharpen

I believe, with some minimal config it will be possible to have automated org.brotli.dec to c# conversion.

@eustas commented on GitHub (Mar 3, 2017): Tried `sharpen`. Almost succeeded: * `BitReader` has problems with nio, as expected * `InputStream` is unexpectedly unknown to sharpen I believe, with some minimal config it will be possible to have automated org.brotli.dec to c# conversion.
Author
Owner

@RehanSaeed commented on GitHub (Mar 3, 2017):

This is only for the decoder, which is great for clients. I'm interested in using brotli with an ASP.NET Core application for dynamic compression on the fly.

I have seen a comment saying the encoder is more complex and C will give better performance etc. A wrapper around the C library would still suffice. Either way a simple NuGet package would be perfect.

@RehanSaeed commented on GitHub (Mar 3, 2017): This is only for the decoder, which is great for clients. I'm interested in using brotli with an ASP.NET Core application for dynamic compression on the fly. I have seen a comment saying the encoder is more complex and C will give better performance etc. A wrapper around the C library would still suffice. Either way a simple NuGet package would be perfect.
Author
Owner

@eustas commented on GitHub (Mar 3, 2017):

+1 for C# wrapper for libbrotli
+1 for NuGet support

@eustas commented on GitHub (Mar 3, 2017): +1 for C# wrapper for libbrotli +1 for NuGet support
Author
Owner

@prepare commented on GitHub (Mar 6, 2017):

Hello, Thank you.

I will test it :)

@prepare commented on GitHub (Mar 6, 2017): Hello, Thank you. I will test it :)
Author
Owner

@eustas commented on GitHub (Jun 1, 2017):

Updated issue title + placed a task list into issue description

@eustas commented on GitHub (Jun 1, 2017): Updated issue title + placed a task list into issue description
Author
Owner

@Zer0M4n commented on GitHub (Jun 3, 2025):

Hi, is this topic still active and if so, how can I contribute?

@Zer0M4n commented on GitHub (Jun 3, 2025): Hi, is this topic still active and if so, how can I contribute?
Author
Owner

@Mrgaton commented on GitHub (Jul 31, 2025):

C# now has a brotli srtream class built in in newer versions of .net

@Mrgaton commented on GitHub (Jul 31, 2025): C# now has a brotli srtream class built in in newer versions of .net
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#153