Java String Sub String substring(byte[] src, int start, int len)

Here you can find the source of substring(byte[] src, int start, int len)

Description

substring

License

Open Source License

Declaration

public static byte[] substring(byte[] src, int start, int len) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static byte[] substring(byte[] src, int start, int len) {
        byte[] res = new byte[len];
        System.arraycopy(src, start, res, 0, len);
        return res;
    }/*from www. j  a v  a 2s.  co m*/
}

Related

  1. substrByLength(String str, int start, int size, String markCode)
  2. subStrBytes2(String str, int byteLength)
  3. substrCount(String haystack, String needle)
  4. subStrIfNeed(final String str, int num)
  5. substring(byte[] array, int start)
  6. substring(char[] s, int start, int end)
  7. substring(final String pSource, final String pBeginBoundaryString, final String pEndBoundaryString, final int pOffset)
  8. substring(final String s, int start)
  9. substring(final String s, int start, int end)