# Packages
package bytes.
Copyright 2023 The acquirecloud Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Copyright 2023 The acquirecloud Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
# Functions
CopyMap allows to return a copy of the map provided.
GetFirst returns the first (pretty random) element in the map m.
IndexOf returns the position of v in slice and -1 if the v is not in slice.
IndexOfAny returns the position of v in slice and -1 if the v is not in slice.
Keys returns keys list (slice is created) or nil.
MergeSlicesUnique receives slices and form one with unique values from all of them.
NewRingBuffer returns the new instance of the *ringBuffer (which implements the RingBuffer).
SliceCopy makes a copy of slice.
SliceExcludeOverlaps returns unique elements in each slice of two first return param(unique in s1) - present in s1, but not in s2 second return param(unique in s2) - present in s2, but not in s1,.
SliceExludeS2Unique substracts elements s2 from the s1 and returns the following: first param - elements that present in s1, but not in s2 second param - elements that present in s1 and s2 both.
SliceFill sets all values of s to v.
SliceInsertIdx inserts the value v at index idx of slice.
SliceRemoveIdxStable removes the element at idx from the slice and return the updated slice.
SliceRemoveIdxUnstable removes the element at idx from the slice and return the updated slice.
SliceReverse the slice in place and returns the slice itself.
SliceTransform returns []B from []A applyint f to each element of a.
Values returns values list (slice is created) or nil.
# Interfaces
No description provided by the author