BinaryReader Question

Trying to read the values AS bytes, but reader reads them as decimals, is there a trick to making it bytes?

        private void ReadArenaDefs(string arenaSlotNumber)
        {
            string fileName = @$"{AppDomain.CurrentDomain.BaseDirectory}\ArenaDefinition_00505.jsfb";
            
            byte[] bytesCrowdType = new byte[8];
            int offset = 288;

            if (File.Exists(fileName)) 
            {
                using (BinaryReader reader = new BinaryReader(new FileStream(fileName, FileMode.Open)))
                {
                    reader.BaseStream.Seek(offset, SeekOrigin.Begin);
                    reader.Read(bytesCrowdType, 0, 8);          
                }    
            }  
        }
Was this page helpful?