Click here to Skip to main content
12,501,105 members (43,945 online)
Click here to Skip to main content

Tagged as

Stats

1.7K views
Posted

Convert half empty byte array to string?

, 16 Mar 2013 CPOL
Hello Codeproject,Let's assume I have a byte array as follows:byte[] MainArray = new byte[4096];I then make another array out of a string:byte[] String = Encoding.ASCII.GetBytes("hello world");I then copy that array to the main array:Array.Copy(String, 0, MainArray, 0,...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 16-Mar-13 13:48 Available ProgramFOX
Code block added
2 No 16-Mar-13 11:37 Available Yvar Birx
Updates in content. 2 changes had been made.
1 No 16-Mar-13 11:34 Available Yvar Birx

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Yvar Birx
Netherlands Netherlands
Yvar Birx;

I am fifteen years old and studied coding for about three years. I mostly code in C#, but I also have coded in Java and Visual Basic.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160919.1 | Last Updated 16 Mar 2013
Article Copyright 2013 by Yvar Birx
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid