Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4267620
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:55:28+00:00 2026-05-21T06:55:28+00:00

I have an application where I receive streaming data through bluetooth and would like

  • 0

I have an application where I receive streaming data through bluetooth and would like to display the streamed data in an image. The data is just RGB values (0-255 for RGB). It’s working fine in C#, but I’m having trouble doing the same thing on the iphone. In C# it’s being implemented as a queue. When a new row of data arrives, I dequeue one row worth of pixels, then enqueue the new row of pixels. I then write the queue to the image pixel array. This seemed like it would be faster than reading the entire image, shifting it, adding new data, then writing the pixel array. In C# there is a method that allows me to convert a queue to an array, since a queue won’t have contiguous memory. My question is, is there a faster way to do this than manually repopulating an array from a queue? Or is there a faster way than using a queue? The image only needs to shift down X number of pixels, then write X number of new pixels to the blank spot in the image. Either way, I can’t figure out how to convert the queue to an array, since the only way to access anything besides the first value is by taking values off of the queue. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T06:55:29+00:00Added an answer on May 21, 2026 at 6:55 am

    The bottleneck on iOS devices won’t be in converting a queue to an array, but in getting the bitmap array into the device’s display (image or texture) memory. This path can be optimized by using a tiled layer, and only updating the pixels at the end of the end tiles. Then you can scroll the tiled layer inside a scroll view to line up the latest streamed data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that may receive data via various methods and in various
I have an application where I receive each data 40.000 rows. I have 5
I have a application which uses socket connection to send and receive data from
we have a vb.net application with send and receive mailing also. Now we have
I have only just started received the following error in my windows forms application
i have application with client-server architecture. client (C program): generate various DER encoded data
I have an application where a user performs an action and receives points. Would
I would like to have some advices because I've got conflict between clients sending
I have an network application which uses a select loop like this: bool shutdown=false;
I have an application which i receive a stream every while to save it,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.