[RFC]: add slice
method to array/fixed-endian-factory
#3154
Labels
Accepted
RFC feature request which has been accepted.
difficulty: 2
May require some initial design or R&D, but should be straightforward to resolve and/or implement.
Feature
Issue or pull request for adding a new feature.
Good First Issue
A good first issue for new contributors!
Help Wanted
Extra attention is needed.
JavaScript
Issue involves or relates to JavaScript.
priority: Normal
Normal priority concern or feature request.
RFC
Request for comments. Feature requests and proposed changes.
Description
This RFC proposes adding support for a
slice
method to@stdlib/array/fixed-endian-factory
.This method is the equivalent of the
TypedArray.prototype.slice
method, but for fixed-endian typed arrays.When adding support, the following tasks should be completed:
./lib/main.js
file should be updated with the added method.To provide a concrete example of what a PR adding the desired method should contain, see 956a462, which is a commit adding
forEach
support. This should provide an idea of what is expected.For an example of specialized typed arrays having customized methods, see
@stdlib/array/bool
@stdlib/array/complex128
@stdlib/array/complex64
While the method proposed in this RFC will likely not match the implementations found in the above packages, those packages should provide a conceptual idea of what is desired. Do not simply copy-paste the code found in those packages.
Notes
Checklist
[RFC]:
.The text was updated successfully, but these errors were encountered: