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.InputStream
Copyright (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 int
available()
org.teavm.jso.typedarrays.ArrayBuffer
getBuffer()
int
getLimit()
int
getPosition()
int
read()
int
read(byte[] b, int off, int len)
long
skip(long n)
-
-
-
Method Detail
-
read
public int read()
- Specified by:
read
in classjava.io.InputStream
-
read
public int read(byte[] b, int off, int len)
- Overrides:
read
in classjava.io.InputStream
-
skip
public long skip(long n)
- Overrides:
skip
in classjava.io.InputStream
-
available
public int available()
- Overrides:
available
in classjava.io.InputStream
-
getPosition
public int getPosition()
-
getLimit
public int getLimit()
-
getBuffer
public org.teavm.jso.typedarrays.ArrayBuffer getBuffer()
-
-