Class ByteString.SystemByteArrayCopier

  • All Implemented Interfaces:
    ByteString.ByteArrayCopier
    Enclosing class:
    ByteString

    private static final class ByteString.SystemByteArrayCopier
    extends java.lang.Object
    implements ByteString.ByteArrayCopier
    Implementation of ByteArrayCopier which uses System.arraycopy(java.lang.Object, int, java.lang.Object, int, int).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] copyFrom​(byte[] bytes, int offset, int size)
      Copies the specified range of the specified array into a new array
      • Methods inherited from class java.lang.Object

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

      • SystemByteArrayCopier

        private SystemByteArrayCopier()