public static boolean isBinary(byte[] raw, int length) {if (length > FIRST_FEW_BYTES)length = FIRST_FEW_BYTES;for (int ptr = 0; ptr < length; ptr++)if (raw[ptr] == '\0')return true;return false;}

public static bool IsBinary(byte[] raw, int length){if (length > FIRST_FEW_BYTES){length = FIRST_FEW_BYTES;}for (int ptr = 0; ptr < length; ptr++){if (raw[ptr] == '\0'){return true;}}return false;}
