class ByteArrayResource implements Resource {

    @Override
    public Stream<String> getAllLocations() {
        return Stream.of(location);
    }

    public  ByteArrayResource(String location, byte[] bytes);

}