Module brave

Class RecyclableBuffers


  • public final class RecyclableBuffers
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static char[] idBuffer()
      Returns a ThreadLocal reused char[] for use when decoding bytes into an ID hex string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • idBuffer

        public static char[] idBuffer()
        Returns a ThreadLocal reused char[] for use when decoding bytes into an ID hex string. The buffer should be immediately copied into a String after decoding within the same method.