CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.91k stars 549 forks source link

Plug #265

Closed ghost closed 8 years ago

ghost commented 8 years ago

Can anyone code this plug?

System.String I want to convert the byte[] to string, for FAT filesystem.

System.Number.FormatDecimal() is actually i need.

z-targz commented 8 years ago

I believe it is NameOfYourByteArray.GetUtf8String(0, (uint)xBuff.Length);

ghost commented 8 years ago

It say that GetUtf8String doesnt exist.

ghost commented 8 years ago

@mterwoord , Can you make System.String plug? I know you are working on FAT, but this topic is about FAT. How can i write on console the readen bytes? It need System.String and System.Number.FormatDecimal() for converting to string.

charlesbetros commented 8 years ago

https://github.com/CosmosOS/Cosmos/blob/master/source/Cosmos.Common/Extensions/ByteConverter.cs