third-party libs
This commit is contained in:
parent
f836927d3a
commit
b154ee9266
3667 changed files with 854591 additions and 0 deletions
29
third-party/BugTrap-1.3-57bd515/source/InputStream.h
vendored
Normal file
29
third-party/BugTrap-1.3-57bd515/source/InputStream.h
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* This is a part of the BugTrap package.
|
||||
* Copyright (c) 2005-2009 IntelleSoft.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Description: Input stream.
|
||||
* Author: Maksim Pyatkovskiy.
|
||||
*
|
||||
* This source code is only intended as a supplement to the
|
||||
* BugTrap package reference and related electronic documentation
|
||||
* provided with the product. See these sources for detailed
|
||||
* information regarding the BugTrap package.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "BaseStream.h"
|
||||
|
||||
/// Input stream.
|
||||
class CInputStream : public virtual CBaseStream
|
||||
{
|
||||
public:
|
||||
/// Return true if end of stream has been reached. This function is required.
|
||||
virtual bool IsEndOfStream(void) const = 0;
|
||||
/// Read one byte from the stream. This function is required.
|
||||
virtual bool ReadByte(unsigned char& bValue) = 0;
|
||||
/// Read array of bytes from the stream. This function is optional.
|
||||
virtual size_t ReadBytes(unsigned char* arrBytes, size_t nCount);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue