Java DataOutput Write Byte Array writeBytes(byte[] data, DataOutput out)

Here you can find the source of writeBytes(byte[] data, DataOutput out)

Description

write Bytes

License

Open Source License

Declaration

private static void writeBytes(byte[] data, DataOutput out) throws IOException 

Method Source Code


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

import java.io.*;

public class Main {
    private static void writeBytes(byte[] data, DataOutput out) throws IOException {
        out.write(data);//from  w  ww . j  a v  a 2  s .  c  om
    }
}

Related

  1. writeBytes(DataOutput dataOutput, byte[] bytes)
  2. writeBytes(DataOutputStream out, byte[] data)
  3. writeBytesToSocket(InputStream requestData, DataOutputStream writeClient)
  4. writeBytesWithLength(DataOutput out, byte[] bytes)