private static byte[] getBlob(byte[] msg, int index) { int size = getInt(msg, index); return msg.SubArray(index + 4, size); }