Java BufferedInputStream Create getStream(byte[] bytes)

Here you can find the source of getStream(byte[] bytes)

Description

get Stream

License

Apache License

Declaration

public static InputStream getStream(byte[] bytes) 

Method Source Code

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

import java.io.ByteArrayInputStream;

import java.io.InputStream;

public class Main {
    public static InputStream getStream(byte[] bytes) {
        return new ByteArrayInputStream(bytes);
    }// w w w . ja  va  2  s  .  c  om
}

Related

  1. getInputStreamFromEncodedStr(String encodedDetails)
  2. getInputStreamFromString(String _string)
  3. getInputStreamFromString(String _string)
  4. getInputStreamFromString(String input)
  5. getInputStreamFromString(String s)
  6. getStream(final File file)
  7. getStream(final String string, final String codePage)
  8. getStream(InputStream is)
  9. getStream(String name)