Lenguaje

ByteArrayInputStream Constructores

Definición

Sobrecargas

Nombre Description
ByteArrayInputStream(Byte[])

Crea un ByteArrayInputStream para que use buf como matriz de búferes.

ByteArrayInputStream(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

ByteArrayInputStream(Byte[], Int32, Int32)

Crea ByteArrayInputStream que usa buf como matriz de búfer.

ByteArrayInputStream(Byte[])

Crea un ByteArrayInputStream para que use buf como matriz de búferes.

[Android.Runtime.Register(".ctor", "([B)V", "")]
public ByteArrayInputStream(byte[]? buf);
[<Android.Runtime.Register(".ctor", "([B)V", "")>]
new Java.IO.ByteArrayInputStream : byte[] -> Java.IO.ByteArrayInputStream

Parámetros

buf
Byte[]

el búfer de entrada.

Atributos

Comentarios

Crea un ByteArrayInputStream para que use buf como matriz de búferes. La matriz de búfer no se copia. El valor inicial de pos es 0 y el valor inicial de count es la longitud de buf.

Java documentación para java.io.ByteArrayInputStream.ByteArrayInputStream(byte[]).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

ByteArrayInputStream(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

protected ByteArrayInputStream(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.ByteArrayInputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.ByteArrayInputStream

Parámetros

javaReference
IntPtr

nativeint

que IntPtrcontiene una referencia de objeto Java Native Interface (JNI).

transfer
JniHandleOwnership

un JniHandleOwnershipvalor de tipo que indica cómo controlar javaReference

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

ByteArrayInputStream(Byte[], Int32, Int32)

Crea ByteArrayInputStream que usa buf como matriz de búfer.

[Android.Runtime.Register(".ctor", "([BII)V", "")]
public ByteArrayInputStream(byte[]? buf, int offset, int length);
[<Android.Runtime.Register(".ctor", "([BII)V", "")>]
new Java.IO.ByteArrayInputStream : byte[] * int * int -> Java.IO.ByteArrayInputStream

Parámetros

buf
Byte[]

el búfer de entrada.

offset
Int32

desplazamiento en el búfer del primer byte que se va a leer.

length
Int32

el número máximo de bytes que se van a leer del búfer.

Atributos

Comentarios

Crea ByteArrayInputStream que usa buf como matriz de búfer. El valor inicial de pos es offset y el valor inicial de count es el mínimo de offset+length y buf.length. La matriz de búfer no se copia. La marca del búfer se establece en el desplazamiento especificado.

Java documentación para java.io.ByteArrayInputStream.ByteArrayInputStream(byte[], int, int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a