Requesting example of Typed Array access

Đang mở
#44 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, nodejs
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the linked Nan::TypedArrayContents documentation and inspect the existing node-addon-examples for the appropriate place for a C++ example. Add a focused example showing how to access a Typed Array, with the work complete when the example clearly demonstrates the API and follows the repository's existing example structure.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

As of Nan version 2.1.0 there exists Nan::TypedArrayContents, which assists in accessing Typed Arrays. See https://github.com/nodejs/nan/blob/master/doc/v8_misc.md#nantypedarraycontents

It would be very useful to have an example of how to use this. I could make the push request with a new example included so long as I was given some assistance with the coding.

Ngôn ngữ chính
C++
Star
2.6k
Fork
602
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nodejs/node-addon-examples

Tất cả issue của nodejs/node-addon-examples

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.