Java Array Sub Array substr(byte[] array, int start, int count)

Here you can find the source of substr(byte[] array, int start, int count)

Description

substr

License

Open Source License

Declaration

public static byte[] substr(byte[] array, int start, int count) 

Method Source Code

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

import java.util.Arrays;

public class Main {
    public static byte[] substr(byte[] array, int start, int count) {
        return Arrays.copyOfRange(array, start, start + count);
    }//from   w w w .  j av a2 s .com
}

Related

  1. subset(final char[] array, final int start, final int length)
  2. subset(int start, int count, byte[] source)
  3. subset(String[] array, int starting, int width)
  4. subset(String[] in, int begin)
  5. subset(String[] tokens, int offset)
  6. tail(final byte[] a, final int length)