DataBufferHolder.java
797 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.service;
import com.adobe.service.DataBuffer;
import com.adobe.service.DataBufferHelper;
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 DataBufferHolder
implements Streamable {
public DataBuffer value;
public DataBufferHolder() {
}
public DataBufferHolder(DataBuffer initial) {
this.value = initial;
}
public TypeCode _type() {
return DataBufferHelper.type();
}
public void _read(InputStream in) {
this.value = DataBufferHelper.read(in);
}
public void _write(OutputStream _out) {
DataBufferHelper.write(_out, this.value);
}
}