ByteBufferByteReader.java
570 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.io;
import com.adobe.internal.io.ByteBufferByteWriter;
import com.adobe.internal.io.ByteReaderWrapperImpl;
import com.adobe.internal.io.ByteWriter;
import java.io.IOException;
import java.nio.ByteBuffer;
public class ByteBufferByteReader
extends ByteReaderWrapperImpl {
public ByteBufferByteReader(ByteBuffer buffer) throws IOException {
super(new ByteBufferByteWriter(buffer));
}
public ByteBufferByteReader(byte[] b) throws IOException {
this(ByteBuffer.wrap(b));
}
}