2024-06-03 21:55:09 -03:00
|
|
|
#include "xna/content/lzx/decoderstream.hpp"
|
2024-05-01 19:09:43 -03:00
|
|
|
|
|
|
|
namespace xna {
|
|
|
|
Int LzxDecoderStream::Length()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
Long LzxDecoderStream::Position()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
void LzxDecoderStream::Close()
|
|
|
|
{
|
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
Long LzxDecoderStream::Seek(Long offset, SeekOrigin const& origin)
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
|
|
|
return Long();
|
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
Int LzxDecoderStream::Read(Byte* buffer, Int bufferLength, Int offset, Int count)
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
2024-05-29 09:42:18 -03:00
|
|
|
return decompressedStream->Read(buffer, bufferLength, offset, count);
|
2024-05-01 19:09:43 -03:00
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
Int LzxDecoderStream::Read(std::vector<Byte>& buffer, Int offset, Int count)
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
2024-05-29 09:42:18 -03:00
|
|
|
return decompressedStream->Read(buffer, offset, count);
|
2024-05-01 19:09:43 -03:00
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
Int LzxDecoderStream::ReadByte()
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
|
|
|
return Int();
|
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
void LzxDecoderStream::Write(Byte const* buffer, Int bufferLength, Int offset, Int count)
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
void LzxDecoderStream::Write(std::vector<Byte> const& buffer, Int offset, Int count)
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
|
|
|
}
|
2024-05-29 09:42:18 -03:00
|
|
|
void LzxDecoderStream::WriteByte(Byte value)
|
2024-05-01 19:09:43 -03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|