Ypsilon.Emulation.Emulator.getBytesFromFile C# (CSharp) Method

getBytesFromFile() private method

private getBytesFromFile ( string path ) : byte[]
path string
return byte[]
        private byte[] getBytesFromFile(string path)
        {
            try {
                byte[] data = File.ReadAllBytes(path);
                return data;
            }
            catch {
                return null;
            }
        }