ZipEntry.SetExtra(Byte[]) Method

Definition

Sets the optional extra field data for the entry.

[Android.Runtime.Register("setExtra", "([B)V", "GetSetExtra_arrayBHandler")]
public virtual void SetExtra (byte[]? extra);
[<Android.Runtime.Register("setExtra", "([B)V", "GetSetExtra_arrayBHandler")>]
abstract member SetExtra : byte[] -> unit
override this.SetExtra : byte[] -> unit

Parameters

extra
Byte[]

The extra field data bytes

Attributes

Exceptions

if the data length >= 64 KiB.

Remarks

Java documentation for java.util.zip.ZipEntry.setExtra(byte[]).

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