Java BufferedInputStream Create getInputStream(byte[] signature)

Here you can find the source of getInputStream(byte[] signature)

Description

get Input Stream

License

Open Source License

Declaration

public static ByteArrayInputStream getInputStream(byte[] signature)
            throws IOException 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2009 Zhao and others.//from  w ww  .j  av  a2s. c  om
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Zhao - initial API and implementation
 *******************************************************************************/

import java.io.*;

public class Main {
    public static ByteArrayInputStream getInputStream(byte[] signature)
            throws IOException {
        ByteArrayInputStream fileInput = new ByteArrayInputStream(signature);
        return fileInput;
    }
}

Related

  1. getInputStream(byte[] data)
  2. getInputStream(byte[]... data)
  3. getInputStream(File file)
  4. getInputStream(final String path)
  5. getInputStream(InputStream in)