# Ett annat kort exempel... hur man läser innehållet av en hel file i ett Byte Array

<datetime class="hidden">2004-07-04T00:00</datetime>

<!-- category -- mostlylucidcouk, Imported -->
Det här är bara ett annat av dumma små fragment som jag alltid glömmer och som är lite klurigt att hitta.

byte[] inArr
med: (Strom sM SK1Datei.Öffnen ("myfielMST4datM ST5FileModeM st6ÖfnenMst7
{
inArr = nytt byt[s.LängdM SK1
s.Read
}