FileDataBufferHolder.java 837 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.service;

import com.adobe.service.FileDataBuffer;
import com.adobe.service.FileDataBufferHelper;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
import org.omg.CORBA.portable.Streamable;

public final class FileDataBufferHolder
implements Streamable {
    public FileDataBuffer value;

    public FileDataBufferHolder() {
    }

    public FileDataBufferHolder(FileDataBuffer initial) {
        this.value = initial;
    }

    public TypeCode _type() {
        return FileDataBufferHelper.type();
    }

    public void _read(InputStream in) {
        this.value = FileDataBufferHelper.read(in);
    }

    public void _write(OutputStream _out) {
        FileDataBufferHelper.write(_out, this.value);
    }
}