Glide
Glide
/
com.bumptech.glide.util
/
MarkEnforcingInputStream
Mark
Enforcing
Input
Stream
open
class
MarkEnforcingInputStream
:
FilterInputStream
Content copied to clipboard
Prevents
InputStreams
from overflowing their buffer by reading data past their read limit.
Constructors
Functions
Constructors
Mark
Enforcing
Input
Stream
Link copied to clipboard
open
fun
MarkEnforcingInputStream
(
in
:
InputStream
)
Content copied to clipboard
Functions
available
Link copied to clipboard
open
fun
available
(
)
:
Int
Content copied to clipboard
close
Link copied to clipboard
open
fun
close
(
)
Content copied to clipboard
mark
Link copied to clipboard
open
fun
mark
(
readLimit
:
Int
)
Content copied to clipboard
mark
Supported
Link copied to clipboard
open
fun
markSupported
(
)
:
Boolean
Content copied to clipboard
null
Input
Stream
Link copied to clipboard
open
fun
nullInputStream
(
)
:
InputStream
Content copied to clipboard
read
Link copied to clipboard
open
fun
read
(
)
:
Int
Content copied to clipboard
open
fun
read
(
buffer
:
Array
<
Byte
>
,
byteOffset
:
Int
,
byteCount
:
Int
)
:
Int
Content copied to clipboard
read
All
Bytes
Link copied to clipboard
open
fun
readAllBytes
(
)
:
Array
<
Byte
>
Content copied to clipboard
read
NBytes
Link copied to clipboard
open
fun
readNBytes
(
len
:
Int
)
:
Array
<
Byte
>
Content copied to clipboard
open
fun
readNBytes
(
b
:
Array
<
Byte
>
,
off
:
Int
,
len
:
Int
)
:
Int
Content copied to clipboard
reset
Link copied to clipboard
open
fun
reset
(
)
Content copied to clipboard
skip
Link copied to clipboard
open
fun
skip
(
byteCount
:
Long
)
:
Long
Content copied to clipboard
transfer
To
Link copied to clipboard
open
fun
transferTo
(
out
:
OutputStream
)
:
Long
Content copied to clipboard