Java Byte Array Value Set setByte(byte value, byte[] bytes, int offset)

Here you can find the source of setByte(byte value, byte[] bytes, int offset)

Description

set Byte

License

Apache License

Declaration

public static void setByte(byte value, byte[] bytes, int offset) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static void setByte(byte value, byte[] bytes, int offset) {
        bytes[offset] = value;/*from  w  w  w.j  a  v a 2 s . c  o  m*/
    }

    public static void setByte(byte value, byte[] bytes) {
        bytes[0] = value;
    }
}

Related

  1. setbyte(byte dest[], int offset, byte b)
  2. setByte(byte[] buffer, int index, int val)
  3. setByte(byte[] byteArray, int offset, byte b)
  4. setbytes(byte dest[], int offset, byte src[])
  5. setBytes(byte[] destination, int offset, byte[] source)