Class Bytes

java.lang.Object
io.crums.util.mem.Bytes

public class Bytes
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static byte[] copy​(byte[] src)  
    static byte[] copy​(byte[] src, int off, int len)  
    static void transfer​(byte[] src, byte[] dtn, int dtnOff)  
    static void transfer​(byte[] src, int srcOff, byte[] dtn, int dtnOff, int len)  

    Methods inherited from class java.lang.Object

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

    • copy

      public static byte[] copy​(byte[] src)
    • copy

      public static byte[] copy​(byte[] src, int off, int len)
    • transfer

      public static void transfer​(byte[] src, byte[] dtn, int dtnOff)
    • transfer

      public static void transfer​(byte[] src, int srcOff, byte[] dtn, int dtnOff, int len)