Class ArrayBufferInputStream
- java.lang.Object
-
- java.io.InputStream
-
- net.lax1dude.eaglercraft.v1_8.internal.teavm.ArrayBufferInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class ArrayBufferInputStream extends java.io.InputStreamCopyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description ArrayBufferInputStream(org.teavm.jso.typedarrays.ArrayBuffer bufferIn)ArrayBufferInputStream(org.teavm.jso.typedarrays.ArrayBuffer bufferIn, int off, int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()org.teavm.jso.typedarrays.ArrayBuffergetBuffer()intgetLimit()intgetPosition()intread()intread(byte[] b, int off, int len)longskip(long n)
-
-
-
Method Detail
-
read
public int read()
- Specified by:
readin classjava.io.InputStream
-
read
public int read(byte[] b, int off, int len)- Overrides:
readin classjava.io.InputStream
-
skip
public long skip(long n)
- Overrides:
skipin classjava.io.InputStream
-
available
public int available()
- Overrides:
availablein classjava.io.InputStream
-
getPosition
public int getPosition()
-
getLimit
public int getLimit()
-
getBuffer
public org.teavm.jso.typedarrays.ArrayBuffer getBuffer()
-
-