iced/Iced/Intel/CodeReader.cs

34 lines
1.1 KiB
C#
Raw Normal View History

2018-09-06 01:29:23 +02:00
/*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Iced is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Iced. If not, see <https://www.gnu.org/licenses/>.
*/
#if (!NO_DECODER32 || !NO_DECODER64) && !NO_DECODER
namespace Iced.Intel {
/// <summary>
/// Reads instruction bytes
/// </summary>
public abstract class CodeReader {
/// <summary>
/// Reads the next byte or returns less than 0 if there are no more bytes
/// </summary>
/// <returns></returns>
public abstract int ReadByte();
}
}
#endif