public static Stream<Byte> box(final byte[] bytes) {
        return new FixedSizeStream<>(bytes.length, new Func1<Integer, Byte>() {
            @Override
            public Byte call(Integer index) {
                return bytes[index];
            }
        });
    }
public static Stream < Byte > box ( final byte [ ] bytes ) { return new FixedSizeStream < > ( bytes . length , new Func1 < Integer , Byte > ( ) { @ Override public Byte call ( Integer index ) { return bytes [ index ] ; } } ) ; }
Creates a new stream of {@link Byte} type that contains all items of a given array.

@param bytes an array to get items from.
@return a new stream of {@link Byte} type that contains all items of a given array.