From 9c4ad8191becda0782e886c72807b87806dc81e5 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Wed, 10 Aug 2022 17:12:20 +0800 Subject: Expose clear method for packed arrays --- doc/classes/PackedByteArray.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/classes/PackedByteArray.xml') diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index f7210122e6..36372fbe54 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -54,6 +54,12 @@ [b]Note:[/b] Calling [method bsearch] on an unsorted array results in unexpected behavior. + + + + Clears the array. This is equivalent to using [method resize] with a size of [code]0[/code]. + + -- cgit v1.2.3