PROTON-1963 Refactor string encoding size calculation

Assume ASCII by default when calculating the string size in UTF8 to
allow for inlining of this method in most cases and fallback to a
multi-byte calculation only when non-ASCII chars are detected.
1 file changed
tree: 45deab31a66fe9c5f4596318ce505ebb15b25a55
  1. apache-qpid-proton-j/
  2. examples/
  3. proton-j/
  4. tests/
  5. .gitattributes
  6. .gitignore
  7. .mailmap
  8. .travis.yml
  9. appveyor.yml
  10. LICENSE
  11. NOTICE
  12. pom.xml
  13. README.md
README.md

Apache Qpid Proton-J

Linux Build Status Windows Build Status

Qpid Proton-J is a high-performance, lightweight messaging library. It can be used in the widest range of messaging applications, including brokers, client libraries, routers, bridges, proxies, and more.

Please see http://qpid.apache.org/proton for more information.