public char[] readTillChar(BinaryReader stream, int start, char tillchar)
{
int size = Convert.ToInt16(stream.BaseStream.Length);
char[] chars = { };
for (int i = start; i < size; i++)
{
char readchar = stream.ReadChar();
if (readchar == tillchar)
return chars;
else
chars[i] += readchar;
}
return chars;
}
char[] chars = readTillChar(reader, 0, '\xFF'
;
public int getCharplace(BinaryReader stream, char find)
{
int size = Convert.ToInt16(stream.BaseStream.Length);
int counter = 0;
for (int i = 0; i < size; i++)
{
char readchar = stream.ReadChar();
if (readchar != find)
counter += 1;
else
return counter;
}
return counter;
}
int where = getCharplace(reader,'\x00'
;
public char[] readTillChar(BinaryReader stream, int start, char tillchar)
{
int size = Convert.ToInt16(stream.BaseStream.Length);
char[] chars = { };
for (int i = start; i < size; i++)
{
char readchar = stream.ReadChar();
if (readchar == tillchar)
return chars;
else
chars[i] += readchar;
}
return chars;
}
char[] chars = readTillChar(reader, 0, '\xFF'
;
public int getCharplace(BinaryReader stream, char find)
{
int size = Convert.ToInt16(stream.BaseStream.Length);
int counter = 0;
for (int i = 0; i < size; i++)
{
char readchar = stream.ReadChar();
if (readchar != find)
counter += 1;
else
return counter;
}
return counter;
}
int where = getCharplace(reader,'\x00'
;
Copyright © 2025, NextGenUpdate.
All Rights Reserved.