SingleValueInputStream.java 377 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.day.io.file;

import java.io.IOException;
import java.io.InputStream;

public class SingleValueInputStream
extends InputStream {
    private final byte value;

    public SingleValueInputStream(byte value) {
        this.value = value;
    }

    public int read() throws IOException {
        return this.value & 255;
    }
}