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 520745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:10:39+00:00 2026-05-13T08:10:39+00:00

I need an array and each item in the array is an array of

  • 0

I need an array and each item in the array is an array of bytes like this, but I’m not sure how to do the:

Dim xx as array

xx(0) *as byte* = {&H12, &HFF}

xx(1) *as byte* = {&H45, &HFE}
  • 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-13T08:10:39+00:00Added an answer on May 13, 2026 at 8:10 am

    You can make a nested or “jagged” byte array like this:

    Dim myBytes(6)() As Byte
    

    This will create an empty array of 6 byte arrays. Each element in the outer array will be Nothing until you assign an array to it, like this:

     myBytes(0) = New Byte() { &H12, &Hff }
    

    However, it would probably be a better idea to make a List of byte arrays, like this:

    Dim myBytes As New List(Of Byte())
    

    This will create an empty list of byte array, which will stay empty until you put some byte arrays into it, like this:

    myBytes.Add(New Byte() { &H12, &Hff })
    

    Unlike the nested array, a List(Of Byte()) will automatically expand to hold as many byte arrays as you put into it.

    For more specific advice, please tell us what you’re trying to do.

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

Sidebar

Related Questions

I have this array of time values: [00:04:48.563044, 00:05:29.835918, 00:09:38.622569] But I need to
The Problem I need some properties of each item that query returns as array
I need to test whether each item in an array is identical to each
I need to store in memory a very long array.Each array item will be
I need to check the type of each element in an array... for(id obj
I got an array which contains signed int data, i need to convert each
I have a PHP 2D array, many keys, each with one value, I need
Basically I have this string $str=word1 word2 word3; I need array( 'word1', 'word2', 'word3'
Each item in my array is an array of about 5 values.. Some of
I need to do calculations based on a variable anmount of data, each item

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.