com.hibegin.http.io.LengthByteArrayInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplewebserver Show documentation
Show all versions of simplewebserver Show documentation
Simple, flexible, less dependent, more extended. Less memory footprint, can quickly build Web project.
Can quickly run embedded, Android devices
package com.hibegin.http.io;
import java.io.ByteArrayInputStream;
public class LengthByteArrayInputStream extends ByteArrayInputStream {
private final long length;
public LengthByteArrayInputStream(byte[] buf) {
super(buf);
this.length = buf.length;
}
public long getLength() {
return length;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy