private int ReadIntegerValue( Stream stream )
{
byte[] buffer = new byte[256];
int bytesRead = 1;
// locate something, what is not spacing
buffer[0] = SkipSpaces( stream );
// complete reading useful value
bytesRead += ReadUntilSpace( stream, buffer, 1 );
return int.Parse( Encoding.ASCII.GetString( buffer, 0, bytesRead ) );
}