Java Byte to Byte Array byteToBytes(byte src)

Here you can find the source of byteToBytes(byte src)

Description

byte To Bytes

License

Open Source License

Declaration

public static byte[] byteToBytes(byte src) 

Method Source Code

//package com.java2s;

public class Main {

    public static byte[] byteToBytes(byte src) {
        return new byte[] { src };
    }//from w w w .  j  a va  2 s.  co m
}

Related

  1. byteToByte(byte[] in)
  2. byteToByteArray(byte number)
  3. byteToBytes(byte x)