Language

JavaSByteArray Constructors

Definition

Overloads

Name Description
JavaSByteArray(IEnumerable<SByte>)

Creates a Java byte array containing the supplied sequence values.

JavaSByteArray(IList<SByte>)

Creates a Java byte array and copies the supplied list values.

JavaSByteArray(Int32)

Creates a Java byte array with the specified length.

JavaSByteArray(JniObjectReference, JniObjectReferenceOptions)

Initializes an array wrapper through the runtime's peer-construction policy.

JavaSByteArray(IEnumerable<SByte>)

Creates a Java byte array containing the supplied sequence values.

public JavaSByteArray(System.Collections.Generic.IEnumerable<sbyte> value);
new Java.Interop.JavaSByteArray : seq<sbyte> -> Java.Interop.JavaSByteArray

Parameters

value
IEnumerable<SByte>

The non-null sequence whose values are copied.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JavaSByteArray(IList<SByte>)

Creates a Java byte array and copies the supplied list values.

public JavaSByteArray(System.Collections.Generic.IList<sbyte> value);
new Java.Interop.JavaSByteArray : System.Collections.Generic.IList<sbyte> -> Java.Interop.JavaSByteArray

Parameters

value
IList<SByte>

The source list whose elements are copied.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JavaSByteArray(Int32)

Creates a Java byte array with the specified length.

public JavaSByteArray(int length);
new Java.Interop.JavaSByteArray : int -> Java.Interop.JavaSByteArray

Parameters

length
Int32

The non-negative array length, measured in elements.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JavaSByteArray(JniObjectReference, JniObjectReferenceOptions)

Initializes an array wrapper through the runtime's peer-construction policy.

public JavaSByteArray(ref Java.Interop.JniObjectReference handle, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaSByteArray : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaSByteArray

Parameters

handle
JniObjectReference

The JNI array reference. An invalid reference can be used with None for deferred peer initialization.

options
JniObjectReferenceOptions

Reference-transfer and peer-registration options passed to the runtime.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to